Skip to contentSkip to conversation

u-boot USB status

U-Boot Marcel 4 participants 7 messages Sep 16, 2010 – Sep 24, 2010

lore
Share & tools
lore

Marcel

author
#0 lore raw

Hi,

I've been away for some time and I wonder if there has been any progress on the u-boot USB branch.

What I want to do is upgrade my kernel and rootfs via USB. I'm using an Atmel SAM9.

I wonder about the status and if any additional work is needed I'm willing to help with the project of course. I'm very familiar with USB as I've written many bootloaders with USB support before (all proprietary) but I'm just a little familiar with the u-boot USB structure.
My intentions are to contribute to the project because I think USB upgrading is a must to make things a bit more user friendly.

Any pointers to get me going again are highly appreciated. The first thing I need is USB support in u-boot for my SAM9, from there I think it's a fairly easy job.

Thanks,
Marcel

#1 lore raw

Hi Marcel,

Quoted 2 lines

What I want to do is upgrade my kernel and rootfs via USB. I'm using an Atmel SAM9.

You might be able to find some inspiration in ./boards/mcc200/auto_update.c and ./boards/mcc200/mcc200.c which uses the U-Boot USB stack for this purpose.

This assumes there is USB host support for the SAM9 (which I have no idea whether there is or not).

-- Damien

author
#2 lore raw

Hi Damien,

Thanks for the info. I will check it out.

I'm also not sure if the SAM9 USB device support is available.
I actually did some work a while ago to make USB work for the SAM9 but had to leave it in non-working condition at the time. If SAM9 USB is not supported yet, I guess I best fix my code and contribute it.

Best regards,
Marcel

Quoted 13 lines

Hi Marcel,

Quoted 2 lines

What I want to do is upgrade my kernel and rootfs via USB. I'm using an Atmel SAM9.

You might be able to find some inspiration in ./boards/mcc200/auto_update.c and ./boards/mcc200/mcc200.c which uses the U-Boot USB stack for this purpose.

This assumes there is USB host support for the SAM9 (which I have no idea whether there is or not).

-- Damien

#3 lore raw

Hi Marcel,

2010/9/17 Marcel <[email protected]>:

Quoted 8 lines

Hi Damien,

Thanks for the info. I will check it out.

I'm also not sure if the SAM9 USB device support is available.
I actually did some work a while ago to make USB work for the SAM9 but had to leave it in non-working condition at the time. If SAM9 USB is not supported yet, I guess I best fix my code and contribute it.

Sam9 host controller support is already in the mainline for years. (sam9 uses the OHCI host)
There is sam9 device support in the u-boot-usb branch but first the CDC branch need to be pushed to mainline during the next merge window (I hope).

Kind regards,

Remy

#4 lore raw

Dear Remy Bohmer,

Quoted 3 lines · In message <[email protected]> you…

There is sam9 device support in the u-boot-usb branch but first the CDC branch need to be pushed to mainline during the next merge window

Feel free to start pushing - the "next" branch is waiting :-)

Best regards,

Wolfgang Denk

Signature · 7 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If a packet hits a pocket on a socket on a port,
And the bus is interrupted as a very last resort,
And the address of the memory makes your floppy disk abort,
Then the socket packet pocket has an error to report! - Ken Burchill?
author
#5 lore raw
In reply to Remy Bohmer

Hi Remy,

At this moment I only need the device support because the host connection is not always available on my designs. Host support is however also very interesting and I certainly will have a need for that as well at some point.

It's wonderful news that there's something available already and I will certainly check this out. Do have an idea for which board type this was implemented ?

Thanks a lot for your reply,
Marcel

Quoted 21 lines

Hi Marcel,

2010/9/17 Marcel <[email protected]>:

Quoted 8 lines

Hi Damien,

Thanks for the info. I will check it out.

I'm also not sure if the SAM9 USB device support is available. I actually did some work a while ago to make USB work for the SAM9 but had to leave it in non-working condition at the time. If SAM9 USB is not supported yet, I guess I best fix my code and contribute it.

Sam9 host controller support is already in the mainline for years. (sam9 uses the OHCI host)
There is sam9 device support in the u-boot-usb branch but first the CDC branch need to be pushed to mainline during the next merge window (I hope).

Kind regards,

Remy

#6 lore raw

Hi Marcel,

Please don' t top-post...

2010/9/23 Marcel <[email protected]>:

Quoted 9 lines

Hi Remy,

At this moment I only need the device support because the host connection is not always available on my designs. Host support is however also very interesting and I certainly will have a need for that as well at some point.

It's wonderful news that there's something available already and I will certainly check this out. Do have an idea for which board type this was implemented ?

The sam9 device support in the u-boot-usb branch was originally developed for the at91sam9261-ek board.

Kind regards,

Remy