Hi,
I couldn't find any post about this my problems. Lots of other problems though.
I have AT91SAM9263EK and I've been trying to install Linux4Sam on it. I get the U-boot and Kernel boot just fine, but the problem is that I cannot get the kernel find my root filesystem properly. It seems that there are something missing in Linux4Sam pages or I just cannot find it.
I have tried several different root filesystems. Mostly I have tried to get to work the Angstrom-x11-image-demo-glibc.rootfs.jffs2 found from Linux4Sam page as prebuild image. I have also tried the prebuild kernel, but I couldn't find what U-boot environment variables I should use. The filesystem is loaded to NAND to address 0x0
So, I tried with and without the following:
setenv bootargs mem=64M console=ttyS0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2 init=/bin/sh
With this the kernel boots up and then there are lots of jffs2 and mtd related errors and then the kernel panics saying can't find init. If I try /dev/mtdblock1 instead the kernel says the filesystem is mounted ok, but complains about missing console and panics saying can't find init.
I also tried to rebuild kernel from the scracht with instructions in Linux4Sam and I was able to build it and it even booted, but end result was the same.
Kernel founds NAND, but I'm thinking that the MTD configuration isn't quite right.
Code:
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 789 at 0x062a0000
Creating 2 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x00000000-0x04000000 : "Partition 1"
0x04000000-0x10000000 : "Partition 2"
There are no devices assigned to MTD partitions and I wasn't able to get working MTD configuration in bootargs.
Could someone show me the whole u-boot environment that is needed to get kernel boot up properly, but I think there are something missing in Linux4Sam site. Or if you have any other suggestion what to do, they are welcome.
Thanks.