Hi all,
I have a Pandaboard A2. I had some troubles booting Ubuntu from a 8GB
Kingston SD: after booting, Ubuntu resizes both partitions and they
become unreadable. It seems to me that the script jasper_growroot is
responsible. This is what I do:
Just to make sure, I format the disk with a script similar to the one
found here:
http://git.openembedded.org/cgit.cgi/openembedded/tree/contrib/angstrom/omap3-mkcard.sh
With the disk unmounted, I follow the instructions on
http://www.omappedia.org/wiki/Ubuntu_flashing and load one of the
nightly builds for omap4 from here:
http://cdimage.ubuntu.com/ubuntu-netbook/daily-preinstalled/current/.
(The same result is seen with the stable version.)
After this, I can mount both partitions, the vfat and the ext3
partitions, and read them under Debian. Since I do not have an HDMI
monitor and Ubuntu doesn't display any output on the serial port, I
use this boot.scr.txt
fatload mmc 0:1 0x80000000 uImage
fatload mmc 0:1 0x81600000 uInitrd
setenv bootargs vram=32M mem=460M@0x80000000 mem=256M@0xA0000000 root=/
dev/mmcblk0p2 fixrtc nosplash console=ttyO2,115200n8
bootm 0x80000000 0x81600000
to replace the original one. To be honest, I am not sure what this
does; I found it here
http://www.omappedia.com/wiki/PandaBoard_FAQ#How_do_I_saveenv_for_boot_args_on_a_PandaBoard.3F.
I use mkimage -A arm -T script -O linux -C none -a 0 -e 0 -n
"boot.scr" -d boot.scr.txt boot.scr and then I copy boot.scr to the
boot partition.
Booting happens with these errors:
omap_i2c omap_i2c.3: controller timed out but this seems to be
irrelevant and some time later
Begin: Loading essential drivers ... [ 18.706451] Btrfs loaded
done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-
top ... done.
Begin: Running /scripts/local-premount ... Caching vfat content in /
dev/.initramfs/jasper-vfat ...
Resizing root partition ...
[ 20.175292] mmcblk0: p1 p2
Re-writing vfat partition ...
Resizing root filesystem. Please wait, this will take a moment ...
Resizing root filesystem ...
[ 24.775054] EXT3-fs: barriers not enabled
[ 24.780426] kjournald starting. Commit interval 5 seconds
[ 24.793029] EXT3-fs (mmcblk0p2): using internal journal
[ 24.798736] EXT3-fs (mmcblk0p2): mounted filesystem with writeback
data mode
Checking filesystem before resizing...
Resizing, please wait...
Resizing, pass: 1 [ 2/100]Resizing, pass: 1 [ 5/100]Resizing, pass:
1 [ 8/100]Resizing, pass: 1 [ 10/100]Resizing, pass: 1 [ 12/100]
[ 54.490356] mmcblk0: error -110 transferring data, sector 6699449,
nr 928, card status 0xc00
[ 54.499450] end_request: I/O error, dev mmcblk0, sector 6699449
[ 54.505676] Buffer I/O error on device mmcblk0p2, logical block
3277432
After a long list of something similar to "end_request: I/O error, dev
mmcblk0, sector 6699469", Ubuntu reboots and then stops with this
message
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg.
I couldn't find anything in the mailing list about this behaviour so I
thought I could ask
I have the full output of the serial port if anybody is interested.
Thanks,
michele