The following procedures will enable you to port Openwrt to Alfa Network’s Hornet-UB. Your PC requires TFTP server to upload kernel.bin and rootfs.bin in order to upload Openwrt. (Please note that the commands to insert in the step-by-step procedures will be in blue colour font)
Step 1: First boot the Hornet-UB. Your terminal console will display the following as shown below. Press 1 from the options provided to you to continue.
Step 2: To change the parameters of the environment, insert the command line below.
setenv bootargs “board=ALFA console=ttyATH0,115200 rootfstype=squashfs,jffs2
noinitrd” (Press enter)
Step 3: Insert the following command to update the kernel.
tftp 0x80600000 kernel.bin (Press enter)
Once updated, you will see the following.
Step 4: Insert erase 0x9f650000 +0x190000 and enter. Then insert the next commandcp.b 0x80600000 0x9f650000 d695a and enter.
Step 5: Insert the following command to update root file system.
tftp 0x80600000 rootfs.bin
Once updated, you will see the following
Insert erase 0x9f050000 +0x600000 and enter. Then insert the next commandcp.b 0x80600000 0x9f050000 23d004 and enter.
Step 6: Enter reset to complete the porting of Openwrt to Hornet-UB