PandaBoard ES boot problem [Solved]

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

PandaBoard ES boot problem [Solved]

Postby jeffstory » Fri Oct 26, 2012 5:18 am

I can't get Arch Arm to boot on my PandaBoard ES. Followed the wiki: http://archlinuxarm.org/platforms/armv7/pandaboard. I've set up the 16GB SD card using the script for the fat32 and ext3 with the label ALARM. I manually resized ALARM to 6GB to add a /home ext3 partition.

I'm having a difficult time wrapping my head around the U-boot variables, and guessing this may be a problem.

The SD card is/dev/sdb
$this->bbcode_second_pass_code('', '
fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x7f95ad37

Device Boot Start End Blocks Id System
/dev/sda1 2048 52430847 26214400 1c Hidden W95 FAT32 (LBA)
/dev/sda2 * 52430848 156262399 51915776 7 HPFS/NTFS/exFAT
/dev/sda3 156262400 625141759 234439680 5 Extended
/dev/sda5 156264448 181583871 12659712 83 Linux
/dev/sda6 181585920 186021887 2217984 82 Linux swap / Solaris
/dev/sda7 186023936 625141759 219558912 83 Linux

Disk /dev/sdb: 15.9 GB, 15931539456 bytes
64 heads, 32 sectors/track, 15193 cylinders, total 31116288 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000736b

Device Boot Start End Blocks Id System
/dev/sdb1 * 63 144584 72261 c W95 FAT32 (LBA)
/dev/sdb2 144585 13524991 6690203+ 83 Linux
/dev/sdb3 13524992 31115263 8795136 83 Linux

')

Output to minicom from pandaboard serial rs232

$this->bbcode_second_pass_code('', '
U-Boot SPL 2011.12-rc1 (Jun 07 2012 - 15:22:33)
Texas Instruments OMAP4460 ES1.1
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img


U-Boot 2011.12-rc1 (Jun 07 2012 - 15:22:33)

CPU : OMAP4460 ES1.1
Board: OMAP4 Panda
I2C: ready
DRAM: 1 GiB
WARNING: Caches not enabled
MMC: OMAP SD/MMC: 0
Using default environment

In: serial
Out: serial
Err: serial
Net: No ethernet found.
Hit any key to stop autoboot: 0
reading uEnv.txt

** Unable to read "uEnv.txt" from mmc 0:1 **
reading boot.scr

225 bytes read
Loaded script from boot.scr
Running bootscript from mmc0 ...
## Executing script at 82000000
fatload - load binary file from a dos filesystem

Usage:
fatload <interface> <dev[:part]> <addr> <filename> [bytes]
- load binary file 'filename' from 'dev' on 'interface'
to address 'addr' from dos filesystem
(Re)start USB...
USB: Register 1313 NbrPorts 3
USB EHCI 1.00
scanning bus for devices... The request port(2) is not configured
The request port(2) is not configured
5 USB Device(s) found
scanning bus for storage devices... 0 Storage Device(s) found
scanning bus for ethernet devices... 1 Ethernet Device(s) found
Waiting for Ethernet connection... done.
BOOTP broadcast 1
DHCP client bound to address 192.168.2.20
missing environment variable: pxeuuid
missing environment variable: ethaddr
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/01-2e-60-d8-6d-4e-01
Waiting for Ethernet connection... done.
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/C0A80214
Waiting for Ethernet connection... done.
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/C0A8021
Waiting for Ethernet connection... done.
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/C0A802
Waiting for Ethernet connection... done.
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/C0A80
Waiting for Ethernet connection... done.
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/C0A8
Waiting for Ethernet connection... done.
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/C0A
Waiting for Ethernet connection... done.
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/C0
Waiting for Ethernet connection... done.
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/C
Waiting for Ethernet connection... done.
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
Waiting for Ethernet connection... done.
*** ERROR: `serverip' not set
Config file not found

')

bootcmd configuration used to create boot.scr.
$this->bbcode_second_pass_code('', '
fatload mmc 0 0x80300000 uImage setenv bootargs console=ttyO2,115200n8 noinitrd init=/sbin/init root=/dev/mmcblk0p2 rootwait rw loglevel=8 bootm 80300000
')


serial to minicom booting Ubuntu ARM to login
$this->bbcode_second_pass_code('', '
U-Boot SPL 2011.12 (Apr 02 2012 - 18:13:04)
Texas Instruments OMAP4460 ES1.1
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.bin
mkimage signature not found - ih_magic = ea000014
Assuming u-boot.bin ..
reading u-boot.bin


U-Boot 2011.12 (Apr 02 2012 - 18:13:04)

CPU : OMAP4460 ES1.1
Board: OMAP4 Panda
I2C: ready
DRAM: 1 GiB
WARNING: Caches not enabled
MMC: OMAP SD/MMC: 0
Using default environment

In: serial
Out: serial
Err: serial
Net: No ethernet found.
checking for preEnv.txt
reading preEnv.txt

** Unable to read "preEnv.txt" from mmc 0:1 **
Hit any key to stop autoboot: 0
reading uEnv.txt

** Unable to read "uEnv.txt" from mmc 0:1 **
reading boot.scr

350 bytes read
Loaded script from boot.scr
Running bootscript from mmc0 ...
## Executing script at 82000000
reading uImage

4435640 bytes read
reading uInitrd

4885845 bytes read
## Booting kernel from Legacy Image at 80000000 ...
Image Name: Ubuntu Kernel
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4435576 Bytes = 4.2 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 81600000 ...
Image Name: Ubuntu Initrd
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 4885781 Bytes = 4.7 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
')
Last edited by jeffstory on Fri Nov 02, 2012 5:46 am, edited 1 time in total.
jeffstory
 
Posts: 24
Joined: Wed Oct 24, 2012 9:37 pm

Re: PandaBoard ES boot problem

Postby pepedog » Fri Oct 26, 2012 8:40 am

I'm guessing the boot script is slightly wrong and install instructions need changing
$this->bbcode_second_pass_code('', 'fatload mmc 0 0x80300000 uImage; setenv bootargs console=ttyO2,115200n8 noinitrd init=/sbin/init root=/dev/mmcblk0p2 rootwait rw loglevel=8; bootm 0x80300000')
or
$this->bbcode_second_pass_code('', 'fatload mmc 0 0x80300000 uImage
setenv bootargs console=ttyO2,115200n8 noinitrd init=/sbin/init root=/dev/mmcblk0p2 rootwait rw loglevel=8
bootm 0x80300000')
First line loads file to memory, second what kernel parameters, third executes
I prefer this order
$this->bbcode_second_pass_code('', 'setenv bootargs console=ttyO2,115200n8 noinitrd init=/sbin/init root=/dev/mmcblk0p2 rootwait rw loglevel=8
fatload mmc 0 0x80300000 uImage
bootm 0x80300000')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: PandaBoard ES boot problem

Postby jeffstory » Fri Oct 26, 2012 11:34 am

Your last sample, below, did the trick. Arch ARM up and running!
Thanks


Perhaps the wiki can be updated to use this.

$this->bbcode_second_pass_quote('', '
')$this->bbcode_second_pass_code('', 'setenv bootargs console=ttyO2,115200n8 noinitrd init=/sbin/init root=/dev/mmcblk0p2 rootwait rw loglevel=8
fatload mmc 0 0x80300000 uImage
bootm 0x80300000')
jeffstory
 
Posts: 24
Joined: Wed Oct 24, 2012 9:37 pm

Re: PandaBoard ES boot problem

Postby kmihelich » Fri Oct 26, 2012 3:19 pm

The website does in fact say just that, with correct formatting. I'm guessing you're using an older version of Internet Explorer, which isn't rendering the information on our site correctly. I'm not going to "fix" any "issues" caused by using old and/or incompetent web browsers, as the site renders just fine in all of the other far more standards-compliant browsers.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: PandaBoard ES boot problem

Postby pepedog » Fri Oct 26, 2012 5:26 pm

Yes, it looks fine on my iPad safari. Not on ie8 on vista though. Wonder why <br> was dropped by standards?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: PandaBoard ES boot problem

Postby kmihelich » Fri Oct 26, 2012 5:33 pm

It's most likely that the MS folks never got around to implementing the CSS "white-space: pre-wrap" property, or implementing it correctly. That one style determines whether the code blocks format correctly.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: PandaBoard ES boot problem

Postby WarheadsSE » Fri Oct 26, 2012 5:33 pm

Actually, I think that IE is the problem here. Standards for pre-formatted code say to not place BR there, the browser should display it as if it was plain text.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: PandaBoard ES boot problem

Postby jeffstory » Fri Oct 26, 2012 6:46 pm

I haven't used windows or ie at home for at least 5 years .... I use Manjaro Linux on my laptop (for SD card slot) with FF 15, gedit, leafpad and nano for editors.

this didn't work and is from http://archlinuxarm.org/platforms/armv7/pandaboard
$this->bbcode_second_pass_code('', '
fatload mmc 0 0x80300000 uImage setenv bootargs console=ttyO2,115200n8 noinitrd init=/sbin/init root=/dev/mmcblk0p2 rootwait rw loglevel=8 bootm 80300000
')

this does work
$this->bbcode_second_pass_code('', '
setenv bootargs console=ttyO2,115200n8 noinitrd init=/sbin/init root=/dev/mmcblk0p2 rootwait rw loglevel=8
fatload mmc 0 0x80300000 uImage
bootm 0x80300000
')

Im not a programmer, but those look different (order) to me. I would also not rule out some error on my end, just not using windows lol.

EDIT: I'd be willing to do more testing if it help iron this out.
jeffstory
 
Posts: 24
Joined: Wed Oct 24, 2012 9:37 pm


Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 4 guests