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.
Has anyone else run into this or have suggestions? I tried briefly updating the .conf file for beagle, but it didn't seem to stick. It almost looked like we were sending the commands before u-boot was ready, but that may just be how the output is displayed.
-andy
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?
We should revert the beagle master hwpack to something older that works well with real hardware and our dispatcher code.
Thanks ZK
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.
So for now, does anyone have a master image I can just download for beagle, or do I really need to create this by hand still?
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.
So for now, does anyone have a master image I can just download for beagle, or do I really need to create this by hand still?
Sorry - sent before I meant to. I meant to ask if there was beagle hwpack I should use instead? It looks like I can just update the boards.d/beagle.conf file in the tool to use a better hwpack.
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.
So for now, does anyone have a master image I can just download for beagle, or do I really need to create this by hand still?
Sorry - sent before I meant to. I meant to ask if there was beagle hwpack I should use instead? It looks like I can just update the boards.d/beagle.conf file in the tool to use a better hwpack.
Right, we should find the right hwpack and update boards.d
Thanks ZK
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@master:~# [rc=0]: Broadcast message from root@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'
W dniu 10.04.2012 22:52, Andy Doan pisze:
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.
Can you get into the shell if you run it manually (without the dispatcher?) I recall that Dave had issues with XM bootloader just not giving him enough time (when scripted).
Thanks ZK
On 04/11/2012 02:32 AM, Zygmunt Krynicki wrote:
W dniu 10.04.2012 22:52, Andy Doan pisze:
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.
Can you get into the shell if you run it manually (without the dispatcher?) I recall that Dave had issues with XM bootloader just not giving him enough time (when scripted).
Its weird. I have things working now, but let me explain.
It seemed like uboot wasn't receiving the key stroke to interrupt the autostart. Just to be more certain a changed the code to interrupt uboot to send the '#' rather than just an EOL. Given how long it was taking to run it end-to-end, I also wrote a simple wrapper to the LavaMasterClient that I could run manually from a python shell.
Once I did that everything started working. It also started working end-to-end. I now need to back out my change and see if works in my wrapper and then see if its started magically working end-to-end.
On 10 April 2012 20:00, Andy Doan andy.doan@linaro.org wrote:
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.
So for now, does anyone have a master image I can just download for beagle, or do I really need to create this by hand still?
Sorry - sent before I meant to. I meant to ask if there was beagle hwpack I should use instead? It looks like I can just update the boards.d/beagle.conf file in the tool to use a better hwpack.
See https://wiki.linaro.org/Platform/Validation/LabHardware
The page suggests that those combination are working: omap3_20111121-0/o-developer-20111121-0 omap3_20120302-1/o-developer-20120302-0
Unfortunately, they're snapshots images and not releases. Thus, they're pruned monthly. You can try 11.11 release or 12.03 releases.
Master images should be reproducible, please use release images only.
W dniu 10.04.2012 19:31, Fathi Boudra pisze:
On 10 April 2012 20:00, Andy Doan andy.doan@linaro.org wrote:
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.
So for now, does anyone have a master image I can just download for beagle, or do I really need to create this by hand still?
Sorry - sent before I meant to. I meant to ask if there was beagle hwpack I should use instead? It looks like I can just update the boards.d/beagle.conf file in the tool to use a better hwpack.
See https://wiki.linaro.org/Platform/Validation/LabHardware
The page suggests that those combination are working: omap3_20111121-0/o-developer-20111121-0 omap3_20120302-1/o-developer-20120302-0
Unfortunately, they're snapshots images and not releases. Thus, they're pruned monthly. You can try 11.11 release or 12.03 releases.
Master images should be reproducible, please use release images only.
Right, I think that we'll have a clean situation when dave re-cycles all current master images in favor of the ones built with our scripts.
Thanks ZK
linaro-validation@lists.linaro.org