diff options
Diffstat (limited to 'doc/README.odroid')
| -rw-r--r-- | doc/README.odroid | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/README.odroid b/doc/README.odroid index 6eb7e67474d..8fe226cf4cf 100644 --- a/doc/README.odroid +++ b/doc/README.odroid @@ -168,13 +168,13 @@ NOTE: This section is only for Odroid X2/U3. The ethernet can be accessed after starting the USB subsystem in U-Boot. The adapter does not come with a preconfigured MAC address, and hence it needs to be set before starting USB. -setenv usbethaddr 02:DE:AD:BE:EF:FF +env set usbethaddr 02:DE:AD:BE:EF:FF Note that in this example a locally managed MAC address is chosen. Care should be taken to make these MAC addresses unique within the same subnet. Start the USB subsystem: -Odroid # setenv usbethaddr 02:DE:AD:BE:EF:FF +Odroid # env set usbethaddr 02:DE:AD:BE:EF:FF Odroid # usb start (Re)start USB... USB0: USB EHCI 1.00 @@ -187,10 +187,10 @@ Automatic IP assignment: ------------------------ If the ethernet is connected to a DHCP server (router maybe with DHCP enabled), then the below will automatically assign an ip address through DHCP. -setenv autoload no +env set autoload no dhcp -Odroid # setenv autoload no +Odroid # env set autoload no Odroid # dhcp Waiting for Ethernet connection... done. BOOTP broadcast 1 @@ -200,7 +200,7 @@ Odroid # Note that this automatically sets the many IP address related variables in U-Boot that is obtained from the DHCP server. -Odroid # printenv ipaddr netmask gatewayip dnsip +Odroid # env print ipaddr netmask gatewayip dnsip ipaddr=192.168.1.10 netmask=255.255.255.0 gatewayip=192.168.1.1 @@ -219,7 +219,7 @@ Static IP assignment: --------------------- In the case where there are no DHCP servers in the network, or you want to set the IP address statically, it can be done by: -Odroid # setenv ipaddr 192.168.1.10 +Odroid # env set ipaddr 192.168.1.10 Odroid # ping 192.168.1.27 Waiting for Ethernet connection... done. Using sms0 device @@ -230,9 +230,9 @@ TFTP booting: Say there exists a tftp server in the network with address 192.168.1.27 and it serves a kernel image (zImage.3.17) and a DTB blob (exynos4412-odroidu3.dtb) that needs to be loaded and booted. It can be accomplished as below: -(Assumes that you have setenv usbethaddr, and have not set autoload to no) +(Assumes that you have env set usbethaddr, and have not set autoload to no) -Odroid # setenv serverip 192.168.1.27 +Odroid # env set serverip 192.168.1.27 Odroid # tftpboot 0x40080000 zImage.3.17 Waiting for Ethernet connection... done. Using sms0 device @@ -256,9 +256,9 @@ Loading: #### 40 KiB/s done Bytes transferred = 46935 (b757 hex) -Odroid # printenv bootargs +Odroid # env print bootargs bootargs=Please use defined boot -Odroid # setenv bootargs console=ttySAC1,115200n8 root=/dev/mmcblk0p2 rootwait +Odroid # env set bootargs console=ttySAC1,115200n8 root=/dev/mmcblk0p2 rootwait Odroid # bootz 40080000 - 42000000 Kernel image @ 0x40080000 [ 0x000000 - 0x30bd58 ] ## Flattened Device Tree blob at 42000000 @@ -318,7 +318,7 @@ Odroid # load usb 0:2 40080000 /boot/zImage.3.17 3194200 bytes read in 471 ms (6.5 MiB/s) Odroid # load usb 0:2 42000000 /boot/exynos4412-odroidu3.dtb 46935 bytes read in 233 ms (196.3 KiB/s) -Odroid # setenv bootargs console=ttySAC1,115200n8 root=/dev/sda2 rootwait +Odroid # env set bootargs console=ttySAC1,115200n8 root=/dev/sda2 rootwait Odroid # bootz 40080000 - 42000000 Kernel image @ 0x40080000 [ 0x000000 - 0x30bd58 ] ## Flattened Device Tree blob at 42000000 |
