diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-10-30 09:29:07 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-10-30 21:09:07 +0100 |
commit | ece432de370327c85b0cedf75965dc94d2d1c945 (patch) | |
tree | d8fc908a79b3b88c5362959f0235479157774333 /include/configs/colibri_t20.h | |
parent | de00d9ecaab2a1c8aacf52a164053d729ba2ee06 (diff) |
apalis/colibri_imx6/t20/t30/vf: fix automatic ethernet update
Fix automatic Ethernet update in case the configblock or U-Boot
environment is corrupted/missing which results in ethaddr aka the MAC
address not being set. Fix this by temporarily using a default Toradex
OUI only based MAC address.
Diffstat (limited to 'include/configs/colibri_t20.h')
-rw-r--r-- | include/configs/colibri_t20.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h index 7640ae608c..694c9278d8 100644 --- a/include/configs/colibri_t20.h +++ b/include/configs/colibri_t20.h @@ -199,7 +199,9 @@ "mtdparts=" MTDPARTS_DEFAULT "\0" \ NFS_BOOTCMD \ SD_BOOTCMD \ - "setethupdate=usb start && tftpboot ${kernel_addr_r} flash_eth.img\0" \ + "setethupdate=if env exists ethaddr; then; else setenv ethaddr " \ + "00:14:2d:00:00:00; fi; usb start && tftpboot " \ + "${kernel_addr_r} flash_eth.img\0" \ "setsdupdate=setenv interface mmc; setenv drive 0; mmc rescan; " \ "load ${interface} ${drive}:1 ${kernel_addr_r} " \ "flash_blk.img\0" \ |