-
Notifications
You must be signed in to change notification settings - Fork 2
EXA8 Storage
Lorenzo Mangani edited this page Jul 7, 2019
·
5 revisions
The EXA8 Provides several internal and external storage options, with built-in USB and SDCard slots.
Please check and confirm the actual device name before proceeding!
mount /dev/mmcblk0p2 /mnt/mmvblk0p2
mount /dev/sdb1 /mnt/sdb1
Please check and confirm the actual device name before proceeding!
Create your own rootfs
tgz image as follows:
mount /dev/mmcblk1p2 /mnt/rootfs
cd /mnt/rootfs
tar vczf /rootfs.tgz *
Deploy rootfs
to ext4 partition (will destroy all data!)
mkfs.ext4 /dev/mmcblk1p2
mount /dev/mmcblk1p2 /mnt/rootfs
tar -xvf taskit-rootfs.tar -C /mnt/rootfs
The EXA8 SOC is powered by U-Boot and can easily be managed throught console port.
NOTE: The Boot procedure and init procedures can be stopped only through console!
To temporarily boot your OS from MMC w/o saving settings, use the following example:
setenv bootargs "bootargs=console=ttyAMA0,115200n8 earlycon=pl011,0x87e028000000 debug maxcpus=4 rootwait rw root=/dev/mmcblk0p2 coherent_pool=16M"
boot
To temporarily boot your OS from USB w/o saving settings, use the following example:
setenv bootargs "bootargs=console=ttyAMA0,115200n8 earlycon=pl011,0x87e028000000 debug maxcpus=4 rootwait rootfstype=ext4 rw noatime root=/dev/sdb2 coherent_pool=16M"
boot
tune2fs -o journal_data_writeback /dev/sdb2
tune2fs -m 0 /dev/sdb2
tune2fs -O ^has_journal /dev/sdb2