Specifications
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 1984
UBI: number of PEBs reserved for bad PEB handling: 19
UBI: max/mean erase counter: 4/1
=> ubifsmount filesystem
UBIFS: mounted UBI device 0, volume 0, name "filesystem"
UBIFS: mounted read-only
UBIFS: file system size: 247603200 bytes (241800 KiB, 236 MiB, 1950 LEBs)
UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root: 0 bytes (0 KiB)
=> ubifsls
30 Tue Oct 02 14:57:09 2012 date_of_creation
30 Tue Oct 02 14:57:11 2012 date_of_modification
16 Tue Oct 02 14:57:08 2012 README
=> tftp 0x42000000 duts/m28/image-filesystem-update.ubifs
Using FEC0 device
TFTP from server 192.168.1.1; our IP address is 192.168.20.33
Filename 'duts/m28/image-filesystem-update.ubifs'.
Load address: 0x42000000
Loading: #################################################################
#########################################################
done
Bytes transferred = 1777664 (1b2000 hex)
=> ubi write 0x42000000 filesystem ${filesize}
1777664 bytes written to volume filesystem
=> ubifsmount filesystem
UBIFS: mounted UBI device 0, volume 0, name "filesystem"
UBIFS: mounted read-only
UBIFS: file system size: 247603200 bytes (241800 KiB, 236 MiB, 1950 LEBs)
UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root: 0 bytes (0 KiB)
=> ubifsls
30 Tue Oct 02 14:57:17 2012 date_of_modification.update
30 Tue Oct 02 14:57:15 2012 date_of_creation.update
15 Tue Oct 02 14:57:13 2012 README.update
=>
Useful definitions:
update_data=ubi part data;tftp 40000000 m28/image-data.ubifs;ubi write 40000000 data ${filesize}
update_user=ubi part user;tftp 40000000 m28/image-user.ubifs;ubi write 40000000 user ${filesize}
5.9.4. Execution Control Commands
5.9.4.1. source - run script from memory
=> help source
source - run script from memory
Usage:
source [addr]
- run script starting at addr
- A valid image header must be present
=>
5.9.4. Execution Control Commands 58