Hi Friends,
I am using AT91SAM9263EK and want to boot from NAND Flash with the Linux
kernel. I am new to Linux so please bear with me. I have the kernel
image i built following the instructions at www.linux4sam.org
This is what i am doing:
1. Load at91bootstrap at 0x00000000
2. Load U-Boot u-boot-1.3.4-exp-at91sam9263ek-nandflash.bin at 0x20000
from http://www.linux4sam.org/twiki/bin/view/Linux4SAM/U-Boot
3. I have not changed the bootargs and they look like -
bootargs=console=ttyS0,115200 root=/dev/mtdblock5
mtdparts=at91_nand:128k(bootstrap)ro,256k(uboot)ro,128k(env1)ro,128k(env2)ro,2M(linux),-(root)
rw rootfstype=jffs2
4. I am copying my kernel to NAND FLASH using tftp 0x21400000 uImage
if I say bootm 0x21400000, the last part of the boot process shows:
"NET: Registered protocol family 17
List of all partitions:
No filesystem could mount root, tried: jffs2
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)"
5. For filesystem; I tried v23434-rootfs.arm_nofpu.jffs2 from
http://www.linux4sam.org/twiki/bin/view/Linux4SAM/BuildRootGet#Buildroot_generic_rootfs_for_SAM and
tried putting it using
tftp 0x21400000 v23434-rootfs.arm_nofpu.jffs2
nand write.jffs2 0x21400000 0x400000 0xyyyyyyyy (i put the hex value
here instead of 0xyyyyyyyy)
But if I do this, where do i put my kernel (coz I had put my kernel at
0x21400000?
I am not sure at what location to copy the jffs2 and where to get it
from? Please help.
What my bootargs must look like after I have the kernel and filesystem?
(Please notice; it lists no partitions in the error message give above).
Many thanks in advance.
_______________________________________________
Angstrom-distro-users mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users