Changes between Version 4 and Version 5 of ventana/bootloader
- Timestamp:
- 05/02/2018 09:50:55 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ventana/bootloader
v4 v5 185 185 1. Download U-Boot from Github 186 186 {{{#!bash 187 >git clone https://github.com/Gateworks/u-boot-imx6.git187 git clone https://github.com/Gateworks/u-boot-imx6.git 188 188 Cloning into 'u-boot-imx6'... 189 189 remote: Reusing existing pack: 244857, done. … … 191 191 Receiving objects: 100% (244857/244857), 59.16 MiB | 9.61 MiB/s, done. 192 192 Resolving deltas: 100% (197013/197013), done. 193 >cd u-boot-imx6193 cd u-boot-imx6 194 194 }}} 195 195 2. Configure Path of Toolchain (modify path below to contain the path from your OpenWrt {{{staging_dir}}} that contains {{{arm-openwrt-linux-gcc}}}) … … 201 201 3. Configure U-Boot for the Ventana boards: 202 202 {{{#!bash 203 >make gwventana_config203 make gwventana_config 204 204 Configuring for gwventana - Board: gw_ventana, Options: IMX_CONFIG=board/gateworks/gw_ventana/gw_ventana.cfg,MX6QDL,SPL 205 205 }}} … … 456 456 Assuming your using a board with NAND flash as the primary boot device and the U-Boot env is in the 2nd partition the following shows a valid config file: 457 457 {{{#!bash 458 >cat /proc/mtd458 cat /proc/mtd 459 459 dev: size erasesize name 460 460 mtd0: 01000000 00040000 "uboot" 461 461 mtd1: 00100000 00040000 "env" 462 462 mtd2: 7ef00000 00040000 "rootfs" 463 >cat /etc/fw_env.config463 cat /etc/fw_env.config 464 464 /dev/mtd1 0x0 0x20000 0x40000 465 465 /dev/mtd1 0x80000 0x20000 0x40000 … … 468 468 Assuming you are using a NAND-less board booting to micro-SD a valid config file looks like: 469 469 {{{#!bash 470 >cat /etc/fw_env.config470 cat /etc/fw_env.config 471 471 /dev/mmcblk0 0xb1400 0x20000 0x20000 472 472 /dev/mmcblk0 0xd1400 0x20000 0x20000