Skip to content

Instantly share code, notes, and snippets.

Created June 16, 2017 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/57e92d8e5c560edff37938dd988b751d to your computer and use it in GitHub Desktop.
Save anonymous/57e92d8e5c560edff37938dd988b751d to your computer and use it in GitHub Desktop.
poplar# usb start
poplar# fatload usb 0:1 0x08000000 mbr.gz
reading mbr.gz
157 bytes read in 16 ms (8.8 KiB/s)
poplar# unzip 0x08000000 0x10000000 0x00000001
Error: inflate() returned -5
poplar# unzip 0x08000000 0x10000000 0x00000200
Uncompressed size: 512 = 0x200
poplar# mmc write 0x10000000 0x00000000 0x00000001
MMC write: dev # 0, block # 0, count 1 ... 1 blocks written: OK
poplar# fatload usb 0:1 0x08000000 partition1.1-of-1.gz
reading partition1.1-of-1.gz
224427 bytes read in 37 ms (5.8 MiB/s)
poplar# unzip 0x08000000 0x10000000 0x003ffe00
Uncompressed size: 4193792 = 0x3FFE00
poplar# mmc write 0x10000000 0x00000001 0x00001fff
MMC write: dev # 0, block # 1, count 8191 ... 8191 blocks written: OK
poplar# fatload usb 0:1 0x08000000 partition2.1-of-1.gz
reading partition2.1-of-1.gz
7212719 bytes read in 362 ms (19 MiB/s)
poplar# unzip 0x08000000 0x10000000 0x08000000
Uncompressed size: 134217728 = 0x8000000
poplar# mmc write 0x10000000 0x00002000 0x00040000
MMC write: dev # 0, block # 8192, count 262144 ... 262144 blocks written: OK
poplar# fatload usb 0:1 0x08000000 partition3.1-of-8.gz
reading partition3.1-of-8.gz
50570040 bytes read in 2397 ms (20.1 MiB/s)
poplar# unzip 0x08000000 0x10000000 0x10000000
Error: Bad gzipped data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment