After compiling up barebox 2012.08, I've managed to get the framebuffer
working and displaying graphics. The issue I have now is that barebox won't
boot from my SD card. The startup script gives this error:
...
running /env/bin/init...
Hit any key to stop autoboot: 1
error: set kernel_loc to one of tftp, nfs, nand, nor or disk
If I edit the /env/config file to set kernel_loc to disk then on boot it
does the following:
...
running /env/bin/init...
Hit any key to stop autoboot: 1
booting kernel from /dev/
:/
Then it will dump me to the barebox prompt. The only progress I've made is
that I can load the kernel by doing 'bootm /dev/disk0.0' but that ends up
throwing this error trying to mount the root filesystem:
VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
Please append a correct "root=" boot option; here are the available
partitions:
1f00 256 mtdblock0 (driver?)
1f01 128 mtdblock1 (driver?)
1f02 5120 mtdblock2 (driver?)
1f03 256640 mtdblock3 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)
Function entered at [<c000dc54>] from [<c0294588>]
Function entered at [<c0294588>] from [<c0324ac0>]
Function entered at [<c0324ac0>] from [<c0324bf0>]
Function entered at [<c0324bf0>] from [<c0324d2c>]
Function entered at [<c0324d2c>] from [<c028f5f8>]
Function entered at [<c028f5f8>] from [<c0009190>]
How would I go about fixing this problem? Thanks.