diff mbox

[U-Boot,5/5] am335x_evm: add new config with forced USB booting

Message ID 1356971563-23478-6-git-send-email-ilya.yanok@cogentembedded.com
State Superseded
Delegated to: Tom Rini
Headers show

Commit Message

Ilya Yanok Dec. 31, 2012, 4:32 p.m. UTC
Currently AM335X hardware has bug in it's ROM code that prevents USB
booting from working normally. So we have to load SPL via serial console
instead. But it's feasible to use USB for loading the main U-Boot image.
This patch adds additional am335x_evm configuration for this.

Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>

---
 boards.cfg | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini Jan. 2, 2013, 3:09 p.m. UTC | #1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/31/12 11:32, Ilya Yanok wrote:
> Currently AM335X hardware has bug in it's ROM code that prevents
> USB booting from working normally. So we have to load SPL via
> serial console instead. But it's feasible to use USB for loading
> the main U-Boot image. This patch adds additional am335x_evm
> configuration for this.
> 
> Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
> 
> --- boards.cfg | 1 + 1 file changed, 1 insertion(+)
> 
> diff --git a/boards.cfg b/boards.cfg index 91504c0..e7c66a9 100644 
> --- a/boards.cfg +++ b/boards.cfg @@ -229,6 +229,7 @@
> integratorap_cm946es         arm         arm946es    integrator
> armltd integratorcp_cm946es         arm         arm946es
> integrator          armltd         -
> integratorcp:CM946ES ca9x4_ct_vxp                 arm         armv7
> vexpress            armltd am335x_evm                   arm
> armv7       am335x              ti             am33xx
> am335x_evm:SERIAL1,CONS_INDEX=1 +am335x_evm_usbboot           arm
> armv7       am335x              ti             am33xx
> am335x_evm:SERIAL1,CONS_INDEX=1,SPL_FORCE_BOOT_DEVICE=BOOT_DEVICE_USBETH

I
> 
don't like the name here as fixed hardware will be widely available
at some point.  How about am335x_evm_force_usbboot ?

- -- 
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQIcBAEBAgAGBQJQ5E2aAAoJENk4IS6UOR1WeFYP/0DFrm0Ia6nhFIyB9NLNdpHK
5um5sKhe3z5W1QX4W5T0Bm/sJtG7+YAUwy2A+GRzwbGxFz5/dXOeqvSRcB2hMS7/
mX+Clh0gJSWN/M+9rHTxJzP47cDcxuukXDQ9V6clCcTS6oP/OqkiywxeTl+XipC3
mOTlKTpo6i9TnnewXKWWaEt3xturbAYeqKxMBU2c1ynHeczADUPmScY88+7OV61T
Ysn+po7ylXc8gSOuffLbWURYdv46Sl3kCCgPIbN77gyYJKBjsssoGNTndEPCRX5z
8XEEg+DXzuzf6AztWmjis62LsySBsic8TEzj2QoZ+VJTuMgsWnJU8L4NVkYH+mwB
sj7/xz7gKLIjF3/2upSJ6khoWtlzoRzMRMoQ7oLOYxhEVufQM5mznXRNcAsjUu03
eHysQPNxFTGWLE5SVlplKd8PJXtuxDCHwahFdpAaaE+TxYWYwIzaFXf+EO1PCH8j
3oNFNu66xFiYG/xb4gU+vLpw5HQCHkV2AS1g+11ucuB40sFhTi+56CIQCHbitu94
ZBM0YJ5/S87hO7cwM9bGq6+HlmTZ1oYuowKC4B0wTok5ZSyCwWNgyuqXR0vYV9ip
Iojp2ix/QTMHwZC43h+UnccTePMvc6E4FdyCqAOhcSxF1amY7KNDj3S9YaMAdyYs
2DMThy1sPhRpS+dSTOOj
=SSkH
-----END PGP SIGNATURE-----
Tom Rini Feb. 5, 2013, 4:29 p.m. UTC | #2
On Mon, Dec 31, 2012 at 06:32:43AM -0000, Ilya Yanok wrote:

> Currently AM335X hardware has bug in it's ROM code that prevents USB
> booting from working normally. So we have to load SPL via serial console
> instead. But it's feasible to use USB for loading the main U-Boot image.
> This patch adds additional am335x_evm configuration for this.
> 
> Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>

And with 4/5 dropped, this one is also dropped.  Thanks!
diff mbox

Patch

diff --git a/boards.cfg b/boards.cfg
index 91504c0..e7c66a9 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -229,6 +229,7 @@  integratorap_cm946es         arm         arm946es    integrator          armltd
 integratorcp_cm946es         arm         arm946es    integrator          armltd         -               integratorcp:CM946ES
 ca9x4_ct_vxp                 arm         armv7       vexpress            armltd
 am335x_evm                   arm         armv7       am335x              ti             am33xx      am335x_evm:SERIAL1,CONS_INDEX=1
+am335x_evm_usbboot           arm         armv7       am335x              ti             am33xx      am335x_evm:SERIAL1,CONS_INDEX=1,SPL_FORCE_BOOT_DEVICE=BOOT_DEVICE_USBETH
 am335x_evm_uart1             arm         armv7       am335x              ti             am33xx      am335x_evm:SERIAL2,CONS_INDEX=2
 am335x_evm_uart2             arm         armv7       am335x              ti             am33xx      am335x_evm:SERIAL3,CONS_INDEX=3
 am335x_evm_uart3             arm         armv7       am335x              ti             am33xx      am335x_evm:SERIAL4,CONS_INDEX=4