Changes between Version 4 and Version 5 of ventana/bootloader


Ignore:
Timestamp:
05/02/2018 09:50:55 PM (6 years ago)
Author:
Cale Collins
Comment:

removed and added carrots where appropriate

Legend:

Unmodified
Added
Removed
Modified
  • ventana/bootloader

    v4 v5  
    1851851. Download U-Boot from Github
    186186{{{#!bash
    187 > git clone https://github.com/Gateworks/u-boot-imx6.git
     187git clone https://github.com/Gateworks/u-boot-imx6.git
    188188Cloning into 'u-boot-imx6'...
    189189remote: Reusing existing pack: 244857, done.
     
    191191Receiving objects: 100% (244857/244857), 59.16 MiB | 9.61 MiB/s, done.
    192192Resolving deltas: 100% (197013/197013), done.
    193 > cd u-boot-imx6
     193cd u-boot-imx6
    194194}}}
    1951952. Configure Path of Toolchain (modify path below to contain the path from your OpenWrt {{{staging_dir}}} that contains {{{arm-openwrt-linux-gcc}}})
     
    2012013. Configure U-Boot for the Ventana boards:
    202202{{{#!bash
    203 > make gwventana_config
     203make gwventana_config
    204204Configuring for gwventana - Board: gw_ventana, Options: IMX_CONFIG=board/gateworks/gw_ventana/gw_ventana.cfg,MX6QDL,SPL
    205205}}}
     
    456456Assuming 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:
    457457{{{#!bash
    458 > cat /proc/mtd
     458cat /proc/mtd
    459459dev:    size   erasesize  name
    460460mtd0: 01000000 00040000 "uboot"
    461461mtd1: 00100000 00040000 "env"
    462462mtd2: 7ef00000 00040000 "rootfs"
    463 > cat /etc/fw_env.config
     463cat /etc/fw_env.config
    464464/dev/mtd1 0x0 0x20000 0x40000
    465465/dev/mtd1 0x80000 0x20000 0x40000
     
    468468Assuming you are using a NAND-less board booting to micro-SD a valid config file looks like:
    469469{{{#!bash
    470 > cat /etc/fw_env.config
     470cat /etc/fw_env.config
    471471/dev/mmcblk0 0xb1400 0x20000 0x20000
    472472/dev/mmcblk0 0xd1400 0x20000 0x20000