≡
Difference between revisions of "RT5350F-OLinuXino"
m (→RT5350F-OLinuXino) |
m (→Building OpenWRT) |
||
| Line 4: | Line 4: | ||
==Building OpenWRT== | ==Building OpenWRT== | ||
| − | Download sources | + | Make a directory: |
| − | git clone https://github.com/OLIMEX/openwrt -b rt5350f | + | # mkdir some_dir |
| + | # cd some_dir | ||
| + | |||
| + | Download sources: | ||
| + | # git clone https://github.com/OLIMEX/openwrt -b rt5350f | ||
| + | |||
| + | Go into openwrt directory: | ||
| + | # cd openwrt | ||
| + | |||
| + | You can use our config: | ||
| + | # make | ||
| + | |||
| + | or if you want to change something: | ||
| + | # make menuconfig | ||
| + | # make | ||
| + | |||
| + | After some time build will finish. The image is found under: | ||
| + | build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_rt305x/openwrt-ramips-rt305x-olinuxino-rt5350f-squashfs-sysupgrade.bin | ||
| + | |||
| + | Place that file on some tftp server. | ||
| + | Reboot the board and you'll see: | ||
| + | U-Boot 1.1.3 (Apr 20 2015 - 13:25:55) | ||
| + | |||
| + | Board: RT5350F-OLinuXino DRAM: 32 MB | ||
| + | relocate_code Pointer at: 81fb4000 | ||
| + | spi_wait_nsec: 42 | ||
| + | spi device id: 1c 30 17 1c 30 (30171c30) | ||
| + | find flash: EN25Q64 | ||
| + | raspi_read: from:30000 len:1000 | ||
| + | .*** Warning - bad CRC, using default environment | ||
| + | |||
| + | ============================================================= | ||
| + | RT5350F-OLinuXino UBoot Version: 4.0.0.0 | ||
| + | -------------------------------------------------------------- | ||
| + | ASIC 5350_MP (Port5<->None) | ||
| + | DRAM_CONF_FROM: Boot-Strapping | ||
| + | DRAM_TYPE: SDRAM | ||
| + | DRAM_SIZE: 256 Mbits | ||
| + | DRAM_WIDTH: 16 bits | ||
| + | DRAM_TOTAL_WIDTH: 16 bits | ||
| + | TOTAL_MEMORY_SIZE: 32 MBytes | ||
| + | Flash component: SPI Flash | ||
| + | Date:Apr 20 2015 Time:13:25:55 | ||
| + | ============================================ | ||
| + | icache: sets:256, ways:4, linesz:32 ,total:32768 | ||
| + | dcache: sets:128, ways:4, linesz:32 ,total:16384 | ||
| + | |||
| + | ##### The CPU freq = 360 MHZ #### | ||
| + | estimate memory size =32 Mbytes | ||
| + | |||
| + | Please choose the operation: | ||
| + | 1: Load system code to SDRAM via TFTP. | ||
| + | 2: Load system code then write to Flash via TFTP. | ||
| + | 3: Boot system code via Flash (default). | ||
| + | 4: Entr boot command line interface. | ||
| + | 7: Load Boot Loader code then write to Flash via Serial. | ||
| + | 9: Load Boot Loader code then write to Flash via TFTP. | ||
Revision as of 00:56, 23 April 2015
RT5350F-OLinuXino
Overview
Building OpenWRT
Make a directory:
# mkdir some_dir # cd some_dir
Download sources:
# git clone https://github.com/OLIMEX/openwrt -b rt5350f
Go into openwrt directory:
# cd openwrt
You can use our config:
# make
or if you want to change something:
# make menuconfig # make
After some time build will finish. The image is found under:
build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_rt305x/openwrt-ramips-rt305x-olinuxino-rt5350f-squashfs-sysupgrade.bin
Place that file on some tftp server. Reboot the board and you'll see:
U-Boot 1.1.3 (Apr 20 2015 - 13:25:55)
Board: RT5350F-OLinuXino DRAM: 32 MB relocate_code Pointer at: 81fb4000 spi_wait_nsec: 42 spi device id: 1c 30 17 1c 30 (30171c30) find flash: EN25Q64 raspi_read: from:30000 len:1000 .*** Warning - bad CRC, using default environment
============================================================= RT5350F-OLinuXino UBoot Version: 4.0.0.0 -------------------------------------------------------------- ASIC 5350_MP (Port5<->None) DRAM_CONF_FROM: Boot-Strapping DRAM_TYPE: SDRAM DRAM_SIZE: 256 Mbits DRAM_WIDTH: 16 bits DRAM_TOTAL_WIDTH: 16 bits TOTAL_MEMORY_SIZE: 32 MBytes Flash component: SPI Flash Date:Apr 20 2015 Time:13:25:55 ============================================ icache: sets:256, ways:4, linesz:32 ,total:32768 dcache: sets:128, ways:4, linesz:32 ,total:16384
##### The CPU freq = 360 MHZ #### estimate memory size =32 Mbytes
Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP.

