[Linaro-validation] master boot image and uboot commands
Andy Doan
andy.doan at linaro.org
Tue Apr 10 20:52:12 UTC 2012
On 04/10/2012 12:06 PM, Zygmunt Krynicki wrote:
> W dniu 10.04.2012 19:00, Andy Doan pisze:
>> On 04/10/2012 11:55 AM, Andy Doan wrote:
>>> On 04/10/2012 11:52 AM, Zygmunt Krynicki wrote:
>>>> W dniu 10.04.2012 18:50, Andy Doan pisze:
>>>>> I've been setting up a local LAVA lab on my home network. I've used the
>>>>> lava-deployment-tool and lava-master-image-scripts to get my Beagle
>>>>> hooked up.
>>>>>
>>>>> I'm really close to having everything work. However, when I submit a
>>>>> job
>>>>> I hit a problem with the soft-reboot logic not being able to instruct
>>>>> u-boot to use the test image.
>>>>>
>>>>> I'm flashing a 12.01 pre-built nano image, but I don't think that
>>>>> matters. I think the real issue might be something with a newer uboot
>>>>> being used by the linaro-master-image-script and the device.conf for
>>>>> beagle not having the right stuff.
>>>>
>>>> That master has not been validated. It fact I'm surprised you managed to
>>>> boot it at all because of thumb kernel bugs that generally crash the
>>>> system shortly after booting. Out of curiosity, which beagle did you use
>>>> C4 or XM?
>>>
>>> XM
>>>
>>>> We should revert the beagle master hwpack to something older that works
>>>> well with real hardware and our dispatcher code.
FYI - I tried with the 11.11 release and see the same thing. It looks
like u-boot is never getting into the shell, so the commands we send it
get lost. I'll dig in more when I get some time.
Here's some output with some debug messages I added:
<LAVA_DISPATCHER>2012-04-10 08:43:20 PM INFO: Perform soft reboot the system
]: reboot
root at master:~# [rc=0]:
Broadcast message from root at master
(/dev/ttyO2) at 20:43 ...
The system is going down for reboot NOW!
* Asking all remaining processes to terminate... [80G [74G[ OK ]
* All processes ended within 1 seconds.... [80G [74G[ OK ]
* Deconfiguring network interfaces... [80G [74G[ OK ]
* Deactivating swap... [80G [74G[ OK ]
umount: /run/lock: not mounted
* Will now restart
[ 314.080474] Restarting system.
Texas Instruments X-Loader 1.5.1 (Jul 21 2011 - 02:25:24)
Beagle xM
Reading boot sector
Loading u-boot.bin from mmc
U-Boot 2011.09 (Nov 17 2011 - 20:27:44)
OMAP3630/3730-GP ES1.0, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 512 MiB
WARNING: Caches not enabled
NAND: 0 MiB
MMC: OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment
In: serial
Out: serial
Err: serial
Beagle xM Rev A
No EEPROM on expansion board
Die ID #33160000061000000156166b0a010019
Net: No ethernet found.
Hit any key to stop autoboot: <LAVA_DISPATCHER>2012-04-10 08:43:31 PM
INFO: ANDY sending uboot cmd: mmc init
<LAVA_DISPATCHER>2012-04-10 08:43:33 PM INFO: ANDY sending uboot cmd:
mmc part 0
2 1 0
The user button is currently NOT pressed.
SD/MMC found on device 0
reading uEnv.txt
** Unable to read "uEnv.txt" from mmc 0:1 **
reading boot.scr
508 bytes read
Loaded script from boot.scr
Running bootscript from mmc0 ...
## Executing script at 80200000
reading uImage
4015048 bytes read
reading uInitrd
1476743 bytes read
reading board.dtb
316 bytes read
## Booting kernel from Legacy Image at 80000000 ...
Image Name: Linux
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4014984 Bytes = 3.8 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 81600000 ...
Image Name: initramfs
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 1476679 Bytes = 1.4 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ...
<LAVA_DISPATCHER>2012-04-10 08:43:35 PM INFO: ANDY sending uboot cmd:
setenv bootcmd 'fatload mmc 0:3 0x80000000 uImage; fatload mmc 0:3
0x81600000 uInitrd; bootm 0x80000000 0x81600000'
More information about the linaro-validation
mailing list