[U-Boot] [PATCH v5 2/2] qi_lb60: add software usbboot support

Marek Vasut marex at denx.de
Sat Oct 13 05:01:27 CEST 2012


Dear xiangfu at openmobilefree.net,

> From: Xiangfu <xiangfu at openmobilefree.net>
> 
>   JZ4740 CPU have a internal ROM have such kind of code, that make
>   JZ4740 can boot from USB
> 
>   usbboot.S can downloads user program from the USB port to internal
>   SRAM and branches to the internal SRAM to execute the program
> 
> Signed-off-by: Xiangfu <xiangfu at openmobilefree.net>
> ---
>  board/qi/qi_lb60/qi_lb60-spl.c |   20 +
>  board/qi/qi_lb60/usbboot.S     |  838
> ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 858
> insertions(+)
>  create mode 100644 board/qi/qi_lb60/usbboot.S
> 
[...]

UGH. Simply ... UGH.

Can that assembler blob not be rewritten into C ?

Best regards,
Marek Vasut


More information about the U-Boot mailing list