I'm porting OpenWRT to Fritzbox 7362 SL. It has VRX288 SoC and both SPI (eva and tffs) and NAND flash (kernel and rootfs).
I got to the point where most of the hardware is detected in early boot - switch, DSL, PCIe/WLAN and SPI - but I'm having trouble with NAND.
I looked at AVM's 6.xx (Linux 2.6.32) and 7.01 (Linux 3.10) sources, and this board (HW202/HW203) has no references to NAND anywhere - neither in old header files, nor in the new device tree.
I tried to brute force it by taking NAND definition from other devices' DTS, but without luck.
I already tried NAND pinout from HW185 and HW223. Actually, all Fritz NAND boards (where it's defined) share the same pinout: ALE - pin 13, CLE - pin 24, RD - pin 49, RD_BY - pin 48, CS1 - pin 23, with active low.
My main suspect is the wrong reg value, but I don't know where should I look to find the memory address, or how could I calculate it?
I can determine bank width (1 byte) from the chip model (*ABADAWP), but how do I know what are the reg, address-cells and size-cells parameters? It appears to vary between architectures and boards, according to Device Tree Usage - eLinux.org.
VoIP unfortunately doesn't work. Same problems as with every other AVM device when it comes to vmmc, unknown GPIO pinout and functionality. Just when I thought i finally had all-in-one OpenWRT device...
Hi Daniel, I would like to try this latest snapshot image on a 7362sl, but having hard time finding appropriate file *initramfs-kernel.bin, mentioned in installation instructions in your commit:
Installation via FTP:
Use scripts/flashing/eva_ramboot.py to send initramfs-kernel.bin
to the device when powering on.
There is no such file on xrx200 snapshot path on download servers, only sysupgrade one.
I admit there are great chance I am missing something obvious how stuff works in openwrt
Thank you for all!