Changeset 31 in SVN


Ignore:
Timestamp:
10/31/2017 01:12:30 PM (12 months ago)
Author:
Tim Harvey
Message:

mkimage_jtag: added two additional cmdline modes for Falcon mode ready images

Falcon mode involves having the SPL boot directly to the Linux OS thus
bypassing the U-Boot bootloader entirely. For this mode we need to flash
the kernel raw at a fixed NAND offset instead of loading it from the
UBI based filesystem.

Two cmdline modes are added to support this:

erase entire flash and program SPL/u-boot/kernel/ubi:

mkimage_jtag <SPL> <u-boot.img> <kernel> <ubi> > image.bin

erase entire flash and program SPL/env/u-boot/kernel/ubi:

mkimage_jtag <SPL> <u-boot.img> <kernel> <ubi> > image.bin

Signed-off-by: Tim Harvey <tharvey@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ventana/images/mkimage_jtag

    r30 r31  
    112112        ;;
    113113
     114        # erase entire part and program SPL + u-boot.img + kernel + ubi
     115        # mtdparts=nand:16m(uboot),10m(env),-(rootfs)
     116        4)
     117        emit $1 $ERASE_ALL  0 0xE00000  # SPL@0
     118        emit $2 $ERASE_NON 0x0E00000    # u-boot@14MB
     119        emit $3 $ERASE_NON 0x1200000    # kernel@18MB
     120        emit $4 $ERASE_NON 0x1c00000    # rootfs@28MB+
     121        ;;
     122
     123        # erase entire part and program SPL + u-boot.img + env + kernel + ubi
     124        # mtdparts=nand:16m(uboot),10m(env),-(rootfs)
     125        5)
     126        emit $1 $ERASE_ALL  0 0xE00000  # SPL@0
     127        emit $2 $ERASE_NON 0x0E00000    # u-boot@14MB
     128        emit $3 $ERASE_NON 0x1000000    # env@16MB
     129        emit $4 $ERASE_NON 0x1200000    # kernel@18MB
     130        emit $5 $ERASE_NON 0x1c00000    # rootfs@28MB+
     131        ;;
     132
    114133        # usage
    115134        *)
Note: See TracChangeset for help on using the changeset viewer.