booting pandaboard rev A2 problems

Belisko Marek marek.belisko at gmail.com
Mon Jun 20 13:59:41 EDT 2011


Hi Sascha,

On Mon, Jun 20, 2011 at 9:04 AM, Sascha Hauer <s.hauer at pengutronix.de> wrote:
> Hi Marek,
>
> On Fri, Jun 17, 2011 at 09:26:46PM +0200, Belisko Marek wrote:
>> Hi,
>>
>> I'm trying to boot barebox on Panda rev. A2.
>
> Hm, I don't know the revision of our panda board. I'll have a look
> later, it may be different.
>
>>
>> I make panda_xload_defconfig compile and put to FAT SD card partition
>> ranamed barebox.bin to u-boot.bin (MLO reads u-boot.bin by default).
>
> I'm a bit confused. The binary resulting from xload_defconfig is
> supposed to replace MLO.  There are two panda defconfig in the tree, one
> for xloader replacement and one regular full blown config.
>
>>
>> Barebox start but after printing revision number is stuck. I add some
>> printks and
>> seems it hang in omap_hsmmc_probe funtion after mci_register(&hsmmc->mci) call.
>>
>> I try with 2 SD cards and non of them is working.
>>
>> Also try to load to flash partition only barebox.bin.itf + barebox.bin
>> but this setup also
>> doesn't work. AFAIU itf add some data before barebox to be possible to
>> boot directly without
>> x-loader. When run_shell is called barebox.bin should be copied do
>> DDRAM and run.
>
> Ok, let's try to sort things a bit.
> does panda_xload_defconfig barebox.bin.itf copied as MLO to the SD card
> produce any output?
> Does panda_defconfig copied as u-boot.bin to the SD card work or does it
> behave like you described above?
Well I create barebox.bin.itf with xloader_defconfig copy to SD card
renamed to MLO.
Create barebox.bin copy to SD card.
Output which I got is:

barebox 2011.04.0-00158-g2153636-dirty (Jun 20 2011 - 19:50:23)

Board: Texas Instrument's Panda
PandaBoard Revision: 003
omap_mmc_probe <- debug where it just hang.

@Jan: Which board revision you have?
I have bad feeling it has something to do with SD cards which I have?

Thanks for replies.

>
> Sascha
>
> --
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
>

regards,

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com



More information about the barebox mailing list