Skip to contentSkip to conversation

barebox for leopardboard

DISCUSSION Tyler W. Wilson 4 participants 6 messages Feb 5, 2010 – Feb 8, 2010

lore
Share & tools
lore
#0 lore raw

I am curious if anybody has done any work on getting barebox running on the leopardboard, so I do not reproduce effort.

I am especially interested in setting up a bootloader that directly supports USB and DFU, so that I do not need to use the UART/serial port.

Thank you,
Tyler

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#1 lore raw

Hi Tyler,

Quoted 5 lines · Tyler W. Wilson

I am curious if anybody has done any work on getting barebox running on the leopardboard, so I do not reproduce effort.

I am especially interested in setting up a bootloader that directly supports USB and DFU, so that I do not need to use the UART/serial port.

I know nothing about the leopardboard, from googling I found out that this is a beagleboard with a camera connected to it, right? Barebox runs on the beagleboard, but unfortunately we do not have USB support for it. You would have to port the usb driver for it, then DFU should work. As a first shot you can compile the beagleboard defconfig and see how far you get.

Sascha

Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw
Quoted 10 lines · Sascha Hauer

Hi Tyler,

Quoted 6 lines · Tyler W. Wilson

I am curious if anybody has done any work on getting barebox running on the leopardboard, so I do not reproduce effort.

I am especially interested in setting up a bootloader that directly supports USB and DFU, so that I do not need to use the UART/serial port.

Quoted 10 lines

I know nothing about the leopardboard, from googling I found out that this is a beagleboard with a camera connected to it, right? Barebox runs on the beagleboard, but unfortunately we do not have USB support for it. You would have to port the usb driver for it, then DFU should work. As a first shot you can compile the beagleboard defconfig and see how far you get.

Sascha

Unfortunately, it is a little different - it uses a DaVinci DM355 processor, which is an ARM9 + custom DSP. The beagleboard uses an OMAP3x of course. Unfortunately, even I am confused on the TI naming scheme as to what is an OMAP versus what is a DaVinci.

I will probably do as you suggest - start with the beagleboard configs and also look at the leopardboard code in the ti u-boot repo. Hopefully that will give me enough data to get the basic barebox running.

The USB worries me, since I am just familiar enough with it to know how complex it can be. Time will tell.

Thank you for your input.

Tyler

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#3 lore raw
Quoted 18 lines · Tyler W. Wilson
Quoted 17 lines · Sascha Hauer

Hi Tyler,

Quoted 6 lines · Tyler W. Wilson

I am curious if anybody has done any work on getting barebox running on the leopardboard, so I do not reproduce effort.

I am especially interested in setting up a bootloader that directly supports USB and DFU, so that I do not need to use the UART/serial port.

I know nothing about the leopardboard, from googling I found out that this is a beagleboard with a camera connected to it, right? Barebox runs on the beagleboard, but unfortunately we do not have USB support for it. You would have to port the usb driver for it, then DFU should work. As a first shot you can compile the beagleboard defconfig and see how far you get.

Quoted 7 lines
Quoted 3 lines

Sascha

Unfortunately, it is a little different - it uses a DaVinci DM355 processor, which is an ARM9 + custom DSP. The beagleboard uses an OMAP3x of course. Unfortunately, even I am confused on the TI naming scheme as to what is an OMAP versus what is a DaVinci.

Then I'm afraid you have to start porting from scratch. If you're lucky they share some peripherals.

Quoted 4 lines

I will probably do as you suggest - start with the beagleboard configs and also look at the leopardboard code in the ti u-boot repo. Hopefully that will give me enough data to get the basic barebox running.

Experience showed that it's a good way to start barebox from U-Boot as a second stage loader and add the low level init stuff later.This way you should be running up quite fast. Feel free to ask further questions about it.

Quoted 3 lines

The USB worries me, since I am just familiar enough with it to know how complex it can be. Time will tell

What kind of controller does this SoC have, EHCI, OHCI?

Sascha

Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#4 lore raw
Quoted 6 lines
Quoted 3 lines

The USB worries me, since I am just familiar enough with it to know how complex it can be. Time will tell

What kind of controller does this SoC have, EHCI, OHCI?

I'm not familiar with this SoC, but a couple of quick searches on google led me to the USB controller's reference guide. It looks like MUSB with CPPI DMA, similar to what is in other Davinci chips. If so, there's a kernel driver for it in Linux (see drivers/usb/musb/) with support for the DMA engine as well.

OMAP3 uses MUSB with its own "Inventra" DMA engine.

- Anand

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#5 lore raw
In reply to Tyler W. Wilson
Quoted 42 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Tyler W. Wilson
Sent: Friday, February 05, 2010 11:29 PM
To: [email protected]
Subject: Re: barebox for leopardboard

Quoted 5 lines · Sascha Hauer

Hi Tyler,

Quoted 1 line · Tyler W. Wilson

I am curious if anybody has done any work on getting

barebox running on

Quoted 4 lines
Quoted 4 lines

the leopardboard, so I do not reproduce effort.

I am especially interested in setting up a bootloader that directly supports USB and DFU, so that I do not need to use the

UART/serial port.

Quoted 2 lines
Quoted 1 line

I know nothing about the leopardboard, from googling I

found out that

Quoted 1 line

this is a beagleboard with a camera connected to it, right?

Barebox runs

Quoted 1 line

on the beagleboard, but unfortunately we do not have USB

support for it.

Quoted 2 lines

You would have to port the usb driver for it, then DFU should work. As a first shot you can compile the beagleboard defconfig

and see how

Quoted 5 lines

far you get.

Sascha

Unfortunately, it is a little different - it uses a DaVinci DM355 processor, which is an ARM9 + custom DSP. The beagleboard uses an OMAP3x
of course. Unfortunately, even I am confused on the TI naming scheme as
to what is an OMAP versus what is a DaVinci.

Quoted 5 lines

I will probably do as you suggest - start with the beagleboard configs
and also look at the leopardboard code in the ti u-boot repo. Hopefully
that will give me enough data to get the basic barebox running.

Tyler,

You may want to post specific queries to [email protected]

Best regards,
Sanjeev

Quoted 5 lines

The USB worries me, since I am just familiar enough with it to know how
complex it can be. Time will tell.

Quoted 9 lines

Thank you for your input.

Tyler

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox