Tool/software: Linux
Hi,
I am working on the latest TI SDK ti-processor-sdk-linux-am335x-evm-03.02.00.05.
My NAND boot is working fine when I am writing the images separately.
But when I am creating a full UBIFS image I am getting
"Bad Linux ARM zImage magic!" on
"bootz ${loadaddr} - ${fdtaddr}\0"
This is my NANDARGS:
#define NANDARGS \
"mtdids=" MTDIDS_DEFAULT "\0" \
"mtdparts=" MTDPARTS_DEFAULT "\0" \
"nandargs=setenv bootargs console=${console} " \
"${optargs} " \
"root=${nandroot} " \
"rootfstype=${nandrootfstype}\0" \
"nandroot=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048\0" \
"nandrootfstype=ubifs rootwait=1\0" \
"nandboot=echo Booting from nand ...; " \
"run nandargs; " \
"nand read ${fdtaddr} NAND.u-boot-spl-os; " \
"nand read ${loadaddr} NAND.kernel; " \
"echo error comes now" \
"bootz ${loadaddr} - ${fdtaddr}\0"
This is the output of my mtdparts
=> mtdparts
device nand0 <nand.0>, # parts = 10
#: name size offset mask_flags
0: NAND.SPL 0x00020000 0x00000000 0
1: NAND.SPL.backup1 0x00020000 0x00020000 0
2: NAND.SPL.backup2 0x00020000 0x00040000 0
3: NAND.SPL.backup3 0x00020000 0x00060000 0
4: NAND.u-boot-spl-os 0x00040000 0x00080000 0
5: NAND.u-boot 0x00080000 0x000c0000 0
6: NAND.u-boot-env 0x00020000 0x00140000 0
7: NAND.u-boot-env.backup1 0x005a0000 0x00160000 0
8: NAND.kernel 0x00400000 0x00700000 0
9: NAND.rootfs 0x1f500000 0x00b00000 0
active partition: nand0,0 - (NAND.SPL) 0x00020000 @ 0x00000000
Can anyone let me know the issue
Thanks
Deep