[U-Boot] u-boot USB status

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

Hi Marcel,
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

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
Hi Marcel,
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

Hi Marcel,
2010/9/17 Marcel korgull@home.nl:
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

Dear Remy Bohmer,
In message AANLkTi=UXxi9K8CqUnBGP2k_nkHvf+cgv-oirQtrOcNk@mail.gmail.com you wrote:
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

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
Hi Marcel,
2010/9/17 Marcel korgull@home.nl:
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

Hi Marcel,
Please don' t top-post...
2010/9/23 Marcel korgull@home.nl:
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
participants (4)
-
Damien Dusha
-
Marcel
-
Remy Bohmer
-
Wolfgang Denk