Searched hist:ce170a1c3d7223d678491e4180b088d196379eef (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/include/configs/ |
| H A D | omap3_overo.h | ce170a1c3d7223d678491e4180b088d196379eef Tue Apr 28 23:17:53 UTC 2015 Ash Charles <ashcharles@gmail.com> omap3: overo: Use software BCH8 ECC for NAND
Overo COMs have NAND flash that requires 4-bit ECC or better except for the first sector which can use 1-bit ECC. The boot ROM expects to load a payload from NAND written using 1-bit hardware-based ECC. In short, write SPL to NAND something like this (4 times for redundancy): #> nandecc hw #> nand write ${loadaddr} 0x0 ${filesize} #> nand write ${loadaddr} 0x20000 ${filesize} #> nand write ${loadaddr} 0x40000 ${filesize} #> nand write ${loadaddr} 0x60000 ${filesize}
Then, switch back to software-based BCH8 for everything else: #> nandecc sw bch8
After [1], enlarge the max size of the SPL so the BCH code can fit.
[1] https://www.mail-archive.com/u-boot@lists.denx.de/msg163912.html
Signed-off-by: Ash Charles <ashcharles@gmail.com>
|