On 12/08/2011 12:29 PM, Somebody in the thread at some point said:
On Thu, Dec 8, 2011 at 2:16 AM, Andy Greenandy.green@linaro.org wrote:
On 12/08/2011 10:56 AM, Somebody in the thread at some point said:
On Thu, Dec 8, 2011 at 12:49 AM, Zygmunt Krynicki zygmunt.krynicki@linaro.org wrote:
W dniu 08.12.2011 02:54, Ricardo Salveti pisze:
On Wed, Dec 7, 2011 at 4:36 PM, Zygmunt Krynicki zygmunt.krynicki@linaro.org wrote:
I don't want to push 100% over usb but pushing 99.9 (all except to boot loader) works for all boards as far as I know. This would give us controllable master image (hell we could install tests before turning the power on).
I guess this will only be an issue with Origen, as to make ethernet to work at the boot loader you also need to have USB support (kind of similar as Panda). For the others I believe it should just work (if not, it's a bug).
What is a bug, bootloader not supporting Ethernet?
USB support (ehci) at the bootloader and then the driver for the device you want to use.
u-boot supports quite a few ethernet devices, so I believe making usb to work would probably be the only thing needed.
Maybe this is worth thinking if the work, and test, to re-implement usb + ethernet at the bootloader as well as Linux for SoC is a good plan compared to just getting it working in Linux, and supporting the case where it doesn't yet work in Linux either.
Getting it to work with panda would be a major milestone. I don't treat boards as equal as they are not equal. Last time I checked uboot has lots of USB and ethernet support so we might be able to eventually do it assuming actual bugs in both linux kernel and uboot for origen are fixed.
For Panda at least you should have everything you need: 1 - USB booting for SPL/U-Boot with USB SPL support; 2 - Ethernet support at U-Boot with TFTP and PXE support; 3 - Unique mac address at both u-boot and kernel (same one, same code to calculate it);
Once you make it work with Panda, we can later then try to have the same support at the other boards we have.
Do all the supported SoC ROMs support USB booting, or workable alternative?
Even if not fully able to boot from USB, we can have at least a minimal u-boot/SPL that would deliver DFU support, this way you could still push another boot loader later on.
Wouldn't it be better to boot a canned Linux + initrd for this kind of thing? Then you don't require a bootloader (cf direct ROM boot) and get high quality enablement you only had to do the once.
-Andy