mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* booting pandaboard rev A2 problems
@ 2011-06-17 19:26 Belisko Marek
  2011-06-20  6:33 ` Antwort: " Jan Weitzel
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Belisko Marek @ 2011-06-17 19:26 UTC (permalink / raw)
  To: barebox

Hi,

I'm trying to boot barebox on Panda rev. A2.

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).

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.

Any ideas what should I check.

Thanks in advance,

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

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Antwort: booting pandaboard rev A2 problems
  2011-06-17 19:26 booting pandaboard rev A2 problems Belisko Marek
@ 2011-06-20  6:33 ` Jan Weitzel
  2011-06-20  7:04 ` Sascha Hauer
  2011-06-20 11:38 ` Sascha Hauer
  2 siblings, 0 replies; 5+ messages in thread
From: Jan Weitzel @ 2011-06-20  6:33 UTC (permalink / raw)
  To: Belisko Marek; +Cc: barebox

barebox-bounces@lists.infradead.org schrieb am 17.06.2011 21:26:46:

> Von: Belisko Marek <marek.belisko@gmail.com>
> An: barebox@lists.infradead.org
> Datum: 17.06.2011 21:30
> Betreff: booting pandaboard rev A2 problems
> Gesendet von: barebox-bounces@lists.infradead.org
> 
> Hi,
> 
> I'm trying to boot barebox on Panda rev. A2.
> 
> 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).
build barebox.bin.itf with panda_xload_defconfig and rename it MLO
build barebox.bin with panda_defconfig and copy it to sdcard

So it boot till barebox.bin not found. Reducing the size of MLO fix that 
for me. I send a patch for panda_xload_defconfig 

Jan

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: booting pandaboard rev A2 problems
  2011-06-17 19:26 booting pandaboard rev A2 problems Belisko Marek
  2011-06-20  6:33 ` Antwort: " Jan Weitzel
@ 2011-06-20  7:04 ` Sascha Hauer
  2011-06-20 17:59   ` Belisko Marek
  2011-06-20 11:38 ` Sascha Hauer
  2 siblings, 1 reply; 5+ messages in thread
From: Sascha Hauer @ 2011-06-20  7:04 UTC (permalink / raw)
  To: Belisko Marek; +Cc: barebox

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?

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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: booting pandaboard rev A2 problems
  2011-06-17 19:26 booting pandaboard rev A2 problems Belisko Marek
  2011-06-20  6:33 ` Antwort: " Jan Weitzel
  2011-06-20  7:04 ` Sascha Hauer
@ 2011-06-20 11:38 ` Sascha Hauer
  2 siblings, 0 replies; 5+ messages in thread
From: Sascha Hauer @ 2011-06-20 11:38 UTC (permalink / raw)
  To: Belisko Marek; +Cc: barebox

On Fri, Jun 17, 2011 at 09:26:46PM +0200, Belisko Marek wrote:
> Hi,
> 
> I'm trying to boot barebox on Panda rev. A2.

Just checked, our panda is rev c3. Maybe you should hunt for differences
in the lowlevel startup code in TIs Xloader which I have not proted
correctly to barebox.

Sascha

> 
> 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).
> 
> 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.
> 
> Any ideas what should I check.
> 
> Thanks in advance,
> 
> 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
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: booting pandaboard rev A2 problems
  2011-06-20  7:04 ` Sascha Hauer
@ 2011-06-20 17:59   ` Belisko Marek
  0 siblings, 0 replies; 5+ messages in thread
From: Belisko Marek @ 2011-06-20 17:59 UTC (permalink / raw)
  To: Sascha Hauer, J.Weitzel; +Cc: barebox

Hi Sascha,

On Mon, Jun 20, 2011 at 9:04 AM, Sascha Hauer <s.hauer@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

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-06-20 17:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-17 19:26 booting pandaboard rev A2 problems Belisko Marek
2011-06-20  6:33 ` Antwort: " Jan Weitzel
2011-06-20  7:04 ` Sascha Hauer
2011-06-20 17:59   ` Belisko Marek
2011-06-20 11:38 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox