2013.09.22. 22:43 keltezéssel, Stefan Agner írta: > Am 2013-09-17 08:18, schrieb Gabor Juhos: >> 2013.09.16. 1:06 keltezéssel, Stefan Agner írta: >> It is done in software in the ar934x-nfc driver. The NAND controller of the >> AR934x SoCs also supports hardware based ECC calculation but that is not yet >> implemented in the driver. The hardware based ECC might use a different OOB >> layout and that would cause similar problems if thas is enabled in the >> bootloader. > I checked that in the original firmware, they definitly use hardware > NAND, in both, the Kernel and Bootloader (actually its the same driver).
Yes, I have found that in the meantime. >> I guess that it would be easy to figure out if the bootloader uses a >> different >> OOB layout or not. > I saw your commits 38069-38071, did you test them on a actual device? I have used a WNDR4300 for testing. > I erased my U-Boot when I used nand erase clean, somehow my command line got > parsed wrong :-( Sad, but that happens sometimes. I also did that on a few boxes already. > I'll try to get a new device and test your changes. It should be possible to fix the board via JTAG. At least it seems that the PCB has an unpopulated JTAG header. >> The kernel automatically sets the "rootfs" partition to be the root >> filesystem >> if the 'CONFIG_MTD_ROOTFS_ROOT_DEV' option is set. > Thanks, this was a missing piece in my mind :-) ;-) > I split those targets, will send a patch as soon as I've got something > useful. Ok. -Gabor _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
