DSS20

Generic information for see iMX platform

Development kit



FAQ

Create USB rescue stick

Create USB rescue stick

What is the partition layout?

dSS > mmc part

Partition Map for MMC device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors    UUID        Type
  1    2048          2049          0ae9afe6-01    83
  2    6144          786433        0ae9afe6-02    83 (rescue)
  3    794624        2957313       0ae9afe6-03    83 (system)

Bricked my device how can I unbrick it

There is s jumper above the console plug, with that you can force it into DFU mode. If you bricked your device it should enter DFU automatically
https://boundarydevices.com/unbricking-nitrogen6x-sabre-lite-i-mx6-board/

Ensure you see the device in the lsusb output, otherwise check that jumper is removed, power cycle, missing USB cable?

$ lsusb | grep Freescale
Bus 001 Device 012: ID 15a2:0054 Freescale Semiconductor, Inc. i.MX 6Dual/6Quad SystemOnChip in RecoveryMode

Before flashing, note the directory of the u-boot.imx file or copy it into the imx_usb_tool directory. Then change into the imx_usb_tool directory as the tool needs its support files.
Then run this command:

sudo ./imx_usb /path/to/u-boot.imx

Erase partitions from u-boot

To destroy a partition on the eMMC, you can simply fill a portion of RAM with 0xFF and then copy that block over the selected partition.
But you need to recalculate the values of the partition table to hexadecimal values and the sizes into blocks of 512 bytes.
FOr example, to kill partition 3 (rootfs) use this sequence:

mw.b ${loadaddr} 0xFF 0x6400000
mmc write ${loadaddr} 0xC2000 0x32000

How to flash

The current dSS20 image is set up to be of a minimum size, it contains only u-boot and the rescue system. Upon first boot the rescue system will download the actual rootfs and flash it. Once the rootfs boots, it will automatically expand the partitions to the maximum size. To install the image download it to your tftp directory:

wget http://update.aizo.com/feeds/digitalstrom-devel-eglibc/images/dss20/digitalstrom-image-dss20.dssimg

Then, interrupt the u-boot booting process on the dSS20 and issue the following commands:

setenv autoload no
dhcp
setenv serverip [your tftp server ip]

mw.b ${loadaddr} 0xFF 0x6400000
mmc write ${loadaddr} 0xC2000 0x32000

tftpboot digitalstrom-image-dss20.dssimg
run fsz2s
mmc write ${loadaddr} 0 ${filesects}

The mw.b and mmc write commands can be omitted if the device has never been flashed before. As soon as you flash the rootfs at least once, you need to destroy it if you want it to be reinstalled automatically. This is due to the fact, that the image containing u-boot and rescue is too small and thus it will not overwrite the rootfs partition, keeping potential old leftovers intact.

IMG_1559.JPG (198 KB) Andreas Fenkart, 03/07/2017 09:17 AM

IMG_1558.JPG (186 KB) Andreas Fenkart, 03/07/2017 09:17 AM

IMG_1557.JPG (160 KB) Andreas Fenkart, 03/07/2017 09:17 AM