I started adding the the device:
I had to disable PCIe. Further, the mtd layout looks odd:
# cat /proc/mtd
dev: size erasesize name
mtd0: 01d2d200 00010000 "rootfs"
mtd1: 00242e00 00010000 "kernel"
mtd2: 00020000 00010000 "urlader"
mtd3: 00070000 00010000 "tffs (1)"
mtd4: 00070000 00010000 "tffs (2)"
mtd5: 01f70000 00010000 "reserved-kernel"
It is only 2315.5 KiB
for the kernel partition. Further it is not aligned? Resulting in error messages like:
[ 0.382113] Creating 6 MTD partitions on "spi0.0":
[ 0.387073] 0x000000000000-0x000001d2d200 : "rootfs"
[ 0.392234] mtd: partition "rootfs" doesn't end on an erase/write block -- force read-only
[ 0.404568] mtd: device 0 (rootfs) set to be root filesystem
[ 0.410555] mtdsplit: no squashfs found in "rootfs"
[ 0.415633] 0x000001d2d200-0x000001f70000 : "kernel"
[ 0.420795] mtd: partition "kernel" doesn't start on an erase/write block boundary -- force read-only
[ 0.432111] 0x000001f70000-0x000001f90000 : "urlader"
[ 0.438336] 0x000001f90000-0x000002000000 : "tffs (1)"
[ 0.446004] 0x000002000000-0x000002070000 : "tffs (2)"
[ 0.452330] 0x000002070000-0x000003fe0000 : "reserved-kernel"
...
Flash size not aligned to erasesize, reducing to 29824KiB
Can someone help me especially with the flash?