Gateworks AVILA 2348-2 Install Guide

From wiliGear wiki

Jump to: navigation, search

Gateworks Avila board with 8Mb Flash (gw2348-2) Install Guide

1. Enter RedBoot command prompt. Press Ctrl+C to stop startup script (if enabled).

2. Configure IP addresses for local interface and TFTP server:

RedBoot> ip_address -l <192.168.1.20> -h <192.168.1.254>
Here 192.168.1.20 is local IP address and 192.168.1.254 is TFTP server IP address.

3. Initialize FIS:

RedBoot> fis init

4. Load kernel from TFTP and store to FLASH

RedBoot> load -r -b 0x01600000 zImage
RedBoot> fis create -b 0x01600000 -f 0x50080000 -l 0x00100000 -r 0x01600000 zImage

5. Load cramfs from TFTP and store to FLASH

RedBoot> load -r -b 0x00800000 squashfs.img
RedBoot> fis create -b 0x00800000 -f 0x50180000 -l 0x00500000 ramdisk

6. Create cfg (configuration) and etc (jffs2 filesystem)

RedBoot> fis create -b 0x00000000 -f 0x50680000 -l 0x00080000 -n cfg
RedBoot> fis create -b 0x00000000 -f 0x50700000 -l 0x000E0000 -n etc

7. Configure RedBoot - setup startup script and IP addresses

RedBoot> fconfig -i
Run script at boot: true
Boot script:
Enter script, terminate with empty line
>> fis load zImage 
>> exec 0x01600000
>>
Boot script timeout (100ms resolution): 1
Use BOOTP for network configuration: false
Gateway IP address:
Local IP address: 192.168.1.20
Local IP address mask: 255.255.255.0
Default server IP address: 192.168.1.254
Console baud rate: 115200
GDB connection port: 9000
Force console for special debug messages: false
Network debug at boot time: false
Default network device: npe_eth1
Update RedBoot non-volatile configuration - continue (y/n)? y

8. Reboot

RedBoot> reset
... Resetting.
Personal tools