Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 941 Bytes

README.md

File metadata and controls

50 lines (38 loc) · 941 Bytes

HLK-RM04 u-boot

u-boot bootloader source code for the HiLink HLK-RM04

Instructions

prerequisites (redhat)

sudo yum -y install gcc glibc.i686 zlib-devel ncurses-devel git

prerequisites (ubuntu)

sudo apt-get update
sudo apt-get -y install make gcc libc6-i386 zlib1g-dev libncurses5-dev git realpath

clone

git clone https://github.com/rest-switch/uboot_ralink.git

toolchain

tar xjvf uboot_ralink/buildroot-gcc342.tar.bz2
sudo ln -s $(realpath buildroot-gcc342) /opt

build

cd uboot_ralink
make distclean
make menuconfig
  (RT5350) Chip ID
  (128Mb) DRAM Component
make

build output

uboot_ralink/uboot.img