Changes between Version 13 and Version 14 of venice/npu


Ignore:
Timestamp:
08/13/2024 08:55:46 PM (5 weeks ago)
Author:
Tim Harvey
Comment:

simplify rescue operations

Legend:

Unmodified
Added
Removed
Modified
  • venice/npu

    v13 v14  
    6868
    6969{{{#!bash
    70 mkdir /mnt/nxp
    71 cp arch/arm64/boot/dts/freescale/*venice*.dtb /mnt/nxp/
    72 }}}
    73 
    74 
     70sudo mkdir /mnt/nxp
     71sudo cp arch/arm64/boot/dts/freescale/*venice*.dtb /mnt/nxp/
     72}}}
    7573
    7674Now, the contents of the device should include:
     
    110108
    111109=== Flash NXP .wic and patched DTBs onto eMMC
    112 
    113 
    114110You are now booted into the ramdisk rescue image. The next steps are to flash the .wic onto the emmc.
    115111
    116 Your multimedia device will likely have a different device name than when it was connected to the host computer; in our case, it is now {{{/dev/sda}}} instead of {{{/dev/sdc}}}. This is expected.
    117 {{{#!bash
    118 DEVICE=<flash device, with no trailing />
     112For venice boards the emmc that we are imaging is {{{/dev/mmcblk2}}} and with only one removable storage device your rescue image with be {{{/dev/sda}}}.
     113
     114Image the emmc as followes:
     115{{{#!bash
    119116mkdir /mnt/src
    120117mkdir /mnt/dst
    121 mount ${DEVICE}1 /mnt/src
    122 dd if=/mnt/src/imx-image-full-imx8mpevk.wic of=/dev/mmcblk2 bs=16M oflag=sync
     118mount /dev/sda1 /mnt/src
     119dd if=/mnt/src/imx-image-full-imx8mpevk.wic of=/dev/mmcblk2 bs=16M oflag=sync # this will take a couple of minutes
    123120mount /dev/mmcblk2p1 /mnt/dst
    124121cp /mnt/src/*.dtb /mnt/dst/