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)
- Hornet-UB x1
- Console Board x1
- Console Cable x1
- Click here to download Kernel & roofs files.
Step 1: Set baud rate information for terminal communication as following.
Set “Bits per second” to 115200.
Set “Data Bits” to 8.
Set “Stop Bits” to 1.
Set “Flow control” to None.
Step 2: 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 3: 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 4: Insert the following command to update the kernel.
tftp 0x80600000 kernel.bin (Press enter)
Once updated, you will see the following.
Step 5: Insert erase 0x9f650000 +0x190000 and enter. Then insert the next command cp.b 0x80600000 0x9f650000 d695a and enter.
Step 6: Insert the following command to update root file system.
tftp 0x80600000 rootfs.bin
Once updated, you will see the following
Inserterase 0x9f050000 +0x600000 and enter. Then insert the next command cp.b 0x80600000 0x9f050000 23d004 and enter.
Step 7: Enter reset to complete the porting of Openwrt to Hornet-UB