mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-26 11:53:10 +02:00
Fixed rootfs NAND settings in XZ0032 sample flashing script.
This commit is contained in:
parent
1b0126410f
commit
27d48e9734
@ -23,12 +23,16 @@ echo "Flashing kernel"
|
|||||||
nprogram 0 2048 uImage
|
nprogram 0 2048 uImage
|
||||||
echo "Flashed kernel"
|
echo "Flashed kernel"
|
||||||
|
|
||||||
echo "Configuring for standard IO"
|
echo "Configuring for rootfs IO"
|
||||||
source script/ecc_normal.scr
|
set NAND_ECCPOS 24 # Specify the ECC offset inside the oob data (0-[oobsize-1])
|
||||||
echo "Configured for standard IO"
|
set NAND_BADBLOCKPAGE 127 # Specify the page number of badblock flag inside a block(0-[PAGEPERBLOCK-1])
|
||||||
|
set NAND_BCHBIT 4 # Specify the hardware BCH algorithm for 4750 (4|8)
|
||||||
|
rebuildcfg
|
||||||
|
boot
|
||||||
|
echo "Configured for rootfs IO"
|
||||||
|
|
||||||
echo "Flashing rootfs"
|
echo "Flashing rootfs"
|
||||||
nprogram 0 4096 rootfs.yaffs2
|
nprogram_oob 0 4096 rootfs.yaffs2
|
||||||
echo "Flashed rootfs"
|
echo "Flashed rootfs"
|
||||||
|
|
||||||
echo "---- All done ----"
|
echo "---- All done ----"
|
||||||
|
Loading…
Reference in New Issue
Block a user