NOT FULLY TEST YET

HOST-PC

  • NOTE: This step is Ubuntu 14.04 example.

Install the package:

$ sudo apt-get install tftpd-hpa

Edit config file as follows:

$ sudo vi /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftpboot"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="-s -c -l"

Create TFTP folder:

sudo mkdir /tftpboot
sudo chmod -R 777 /tftpboot
sudo chown -R nobody /tftpboot

Restart the app to apply new configuration:

sudo service tftpd-hpa restart

Copy Image, meson64_odroidn2.dtb and uInitrd files to /tftpboot directory.

U-Boot

Assumptions:

  • TFTP server IP address: 192.168.0.2
  • ODROID-N2 IP address: 192.168.0.3

Set the tftp server & board ip address:

odroidn2# setenv serverip 192.168.0.2
odroidn2# setenv ipaddr 192.168.0.3

Download images using tftp:

odroidn2# tftp 0x1000000 meson64_odroidn2.dtb
odroidn2# tftp 0x11000000 Image
odroidn2# tftp 0x13000000 uInitrd

Booting:

odroidn2# setenv condev "console=ttyS0,115200n8 console=tty0"
odroidn2# setenv m "1080p60hz"
odroidn2# setenv m_bpp "32"
odroidn2# setenv bootargs "root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait rw ${condev} no_console_suspend hdmimode=${m} m_bpp=${m_bpp} fsck.fix=yes"
odroidn2# booti 0x11000000 0x13000000 0x1000000