[if gte mso 9]>

Re: [edk2] BeagleBoardPkg could boot to Linux?

Subject: Re: [edk2] BeagleBoardPkg could boot to Linux?

From: "Olivier Martin" <olivier.martin@arm.com>

To: <edk2-devel@lists.sourceforge.net>

Date: 2011-11-16 19:42:49

HI Tiger,

 

Extra information about booting Linux on the BeagleBoard can be found on this wikipage: http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=BeagleBoardPkg

Step 4 could be the missing part. You maybe do not have a zImage on your SD card (only the uImage is added by default).

 

4. ARM UEFI currently only support zImage. Add the zImage to the sdcard:

tar xzf hwpack_linaro-omap3_20101109-1_armel_supported.tar.gz

cd pkgs/

dpkg -x linux-image-2.6.35-1008-linaro-omap_2.6.35-1008.15_armel.deb .

sudo mount -o loop,offset=$[63*512] $(WORKROOT)/beagle_image/beagle_sd.img /tmp/beagle_boot

sudo cp boot/vmlinuz-2.6.35-1008-linaro-omap /tmp/beagle_boot/zImage

 

One way to check is to start EBL and browse the partition of your SD card to confirm you have a zImage.

 

Thanks,

Olivier

 

From: TigerLiu@viatech.com.cn [mailto:TigerLiu@viatech.com.cn]
Sent: 16 November 2011 11:07
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] BeagleBoardPkg could boot to Linux?

 

Hi, All:

I have successfully compiled BeagleBoardPkg with Ubuntu 11.10.

And also used linaro-image-tools to create a beagle_sd.img.

And test u-boot +Linux linaro image on qemu is ok.

 

I also followed BeagleBoardPkg\Readme.txt to replace u-boot.bin with BEAGLEBOARD_EFI.fd in beagle_sd.img.

But I could not boot to linaro with UEFI beagle image(BEAGLEBOARD_EFI.fd) + quemu .

It only could boot into EBL or BootManager.

 

If I selected “[1] Linux from SD”, it tips me:

SD : CMD12 in a wrong state.

……

ERROR : Did not find linux kernel.

 

So who knows how to boot linaro with BEAGLEBOARD_EFI.fd in qemu in Ubuntu 11.10?

 

Best wishes,