Fail to boot Ubuntu image from SD card for Beagleboard C4.

HI,

I am not able to boot Ubuntu from SD card. I have referred steps from
https://wiki.ubuntu.com/ARM/OMAPMaverickInstall
Here are the steps which I followed,

1)gunzip ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img
2)sudo dd bs=4M if=ubuntu-netbook-10.10-preinstalled-netbook-armel
+omap.img of=/dev/sdb
3)Inserted SD card in to Beagleboard C4.
4)In serial console connected to the system, gave command
setenv bootcmd 'mmc init;fatload mmc 0 0x82000000 boot.scr;source
0x82000000'; setenv autostart yes; saveenv; boot

after this procedure I could not see anything on monitor, in serial
console massage was displayed ""Uncompressing Linux... done, booting
the kernel"

after some times boards gets rebooted, but again same message on
serial control and no signal to monitor.

If I am going wrong somewhere ,please let me know.

Thanks in advance,
Dinesh

This is because the console is disabled by default at this image, see
https://wiki.ubuntu.com/ARM/BeagleEditBootscr to understand how to
enable it.

I'd now recommend you to download and test the Natty image (11.04),
that should be available to the public tomorrow. This time we also
created a minimal image with default console support.

Cheers,

First of all, thanks to reply me back.. :slight_smile:

I have followed all the steps from https://wiki.ubuntu.com/ARM/BeagleEditBootscr
Rebooted beagleboard with new boot.scr
Read the boot.scr successfully and kernel starts loading, I could see
the logs on serial console but meanwhile kernel gets panic gives log
as follows

[ 167.797515] end_request: I/O error, dev mtdblock0, sector 8
[ 167.812347] uncorrectable error :
[ 167.815765] end_request: I/O error, dev mtdblock0, sector 128
[ 167.823791] uncorrectable error :
[ 167.827056] end_request: I/O error, dev mtdblock0, sector 0
[ 167.834289] uncorrectable error :
[ 167.837768] end_request: I/O error, dev mtdblock0, sector 0

these are the some line pasted here from long log.

I also tried to boot manually in serial console instead of changing
boot.scr, steps are as follows:

Hit any key to stop autoboot: 8
OMAP3 beagleboard.org #mmc init
OMAP3 beagleboard.org # fatload mmc 0:1 0x80000000 uImage
OMAP3 beagleboard.org #fatload mmc 0:1 0x81600000 uInitrd
OMAP3 beagleboard.org #setenv bootargs vram=12M omapfb.mode=dvi:
1280x720MR-16@60 root=/dev/mmcblk0p2 fixrtc console=ttyS2,115200n8
serialtty=ttyS2 oem-config/enable=true
OMAP3 beagleboard.org #bootm 0x80000000 0x81600000

but again it gives the same log in serial console.

kindly please help to boot ubuntu on beagleboard C4.

second thing is I could not find Natty image (11.04) , if it is
released please provide me link

Thanks in advance,
Dinesh

First of all, thanks to reply me back.. :slight_smile:

I have followed all the steps from https://wiki.ubuntu.com/ARM/BeagleEditBootscr
Rebooted beagleboard with new boot.scr
Read the boot.scr successfully and kernel starts loading, I could see
the logs on serial console but meanwhile kernel gets panic gives log
as follows

[ 167.797515] end_request: I/O error, dev mtdblock0, sector 8
[ 167.812347] uncorrectable error :
[ 167.815765] end_request: I/O error, dev mtdblock0, sector 128
[ 167.823791] uncorrectable error :
[ 167.827056] end_request: I/O error, dev mtdblock0, sector 0
[ 167.834289] uncorrectable error :
[ 167.837768] end_request: I/O error, dev mtdblock0, sector 0

safe to ignore, it's just probing you nand..

these are the some line pasted here from long log.

I also tried to boot manually in serial console instead of changing
boot.scr, steps are as follows:

Hit any key to stop autoboot: 8
OMAP3 beagleboard.org #mmc init
OMAP3 beagleboard.org # fatload mmc 0:1 0x80000000 uImage
OMAP3 beagleboard.org #fatload mmc 0:1 0x81600000 uInitrd
OMAP3 beagleboard.org #setenv bootargs vram=12M omapfb.mode=dvi:
1280x720MR-16@60 root=/dev/mmcblk0p2 fixrtc console=ttyS2,115200n8
serialtty=ttyS2 oem-config/enable=true

                ^^^^
Are you running a 2.6.36+ kernel? use ttyO2...

Regards,

First of all, thanks to reply me back.. :slight_smile:

I have followed all the steps from https://wiki.ubuntu.com/ARM/BeagleEditBootscr
Rebooted beagleboard with new boot.scr
Read the boot.scr successfully and kernel starts loading, I could see
the logs on serial console but meanwhile kernel gets panic gives log
as follows

[ 167.797515] end_request: I/O error, dev mtdblock0, sector 8
[ 167.812347] uncorrectable error :
[ 167.815765] end_request: I/O error, dev mtdblock0, sector 128
[ 167.823791] uncorrectable error :
[ 167.827056] end_request: I/O error, dev mtdblock0, sector 0
[ 167.834289] uncorrectable error :
[ 167.837768] end_request: I/O error, dev mtdblock0, sector 0

Just ignore, probing your nand.

these are the some line pasted here from long log.

I also tried to boot manually in serial console instead of changing
boot.scr, steps are as follows:

Hit any key to stop autoboot: 8
OMAP3 beagleboard.org #mmc init
OMAP3 beagleboard.org # fatload mmc 0:1 0x80000000 uImage
OMAP3 beagleboard.org #fatload mmc 0:1 0x81600000 uInitrd
OMAP3 beagleboard.org #setenv bootargs vram=12M omapfb.mode=dvi:
1280x720MR-16@60 root=/dev/mmcblk0p2 fixrtc console=ttyS2,115200n8
serialtty=ttyS2 oem-config/enable=true
OMAP3 beagleboard.org #bootm 0x80000000 0x81600000

but again it gives the same log in serial console.

kindly please help to boot ubuntu on beagleboard C4.

second thing is I could not find Natty image (11.04) , if it is
released please provide me link

Check https://wiki.ubuntu.com/ARM/OMAP

Cheers,

Any idea which image contains BB support? All the 11.04 links I see
on the download page (http://www.ubuntu.com/download/ubuntu/
alternative-download) indicate x86 support and the netbook image is a
broken link...

Thanks,
Phil

Check at http://cdimage.ubuntu.com/releases/11.04/release/, for the omap image.

More instructions at https://wiki.ubuntu.com/ARM/OMAP

Cheers,