Difference between revisions of "i.MX53 SODIMM PC Filesystem"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:i.MX53 SODIMM PC - Development | + | [[Category:i.MX53 SODIMM PC - Development Kit]] |
<!-- --> | <!-- --> | ||
<div style="float:right">__TOC__</div> | <div style="float:right">__TOC__</div> | ||
− | All the precompiled Voipac images can be found in the [http://downloads.voipac.com/index.php?p=i.MX53_SODIMM_PC- | + | All the precompiled Voipac images can be found in the [http://downloads.voipac.com/index.php?p=i.MX53_SODIMM_PC-Development_Kit/module/software/filesystem/binaries download section]. Updating filesystem using Barebox is possible with all of these files as well as with the images below. |
− | == | + | == Filesystems for different configurations == |
=== NAND Flash memory sized 128, 256 or 512 MB === | === NAND Flash memory sized 128, 256 or 512 MB === | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
Line 35: | Line 35: | ||
mkdir -pv ~/workdir/vmx53/rootfs/android/ | mkdir -pv ~/workdir/vmx53/rootfs/android/ | ||
cd ~/workdir/vmx53/rootfs/android/ | cd ~/workdir/vmx53/rootfs/android/ | ||
− | wget http://downloads.voipac.com/files/i.MX53_SODIMM_PC- | + | wget http://downloads.voipac.com/files/i.MX53_SODIMM_PC-Development_Kit/module/software/filesystem/binaries/rootfs-nfs-android-2.3-vmx53-vpac1.tar.gz |
sudo tar xvzf rootfs-nfs-android-2.3-vmx53-vpac1.tar.gz | sudo tar xvzf rootfs-nfs-android-2.3-vmx53-vpac1.tar.gz | ||
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 21:52, 23 October 2021
All the precompiled Voipac images can be found in the download section. Updating filesystem using Barebox is possible with all of these files as well as with the images below.
Filesystems for different configurations
NAND Flash memory sized 128, 256 or 512 MB
export fs_directory=/home/marek/workdir/vmx53/rootfs/busybox/rootfs-bb-1-22.1/ export fs_ubifs_image=rootfs-1.22-ubifs-m2k-e128k-512M_vmx53_$(date "+%Y%m%d").bin sudo mkfs.ubifs -m 2048 -e 129024 -c 4080 -r ${fs_directory} -o ${fs_ubifs_image} cp -av ${fs_ubifs_image} /srv/tftp/vmx53/
NAND Flash memory sized 1 GB
export fs_directory=/home/marek/workdir/vmx53/rootfs/busybox/rootfs-bb-1-22.1/ export fs_ubifs_image=rootfs-1.22-ubifs-m4k-e512k-1G_vmx53_$(date "+%Y%m%d").bin sudo mkfs.ubifs -m 4096 -e 520192 -c 2000 -r ${fs_directory} -o ${fs_ubifs_image} cp -av ${fs_ubifs_image} /srv/tftp/vmx53/
NAND Flash memory sized 4 GB
export fs_directory=/home/marek/workdir/vmx53/rootfs/busybox/rootfs-bb-1-22.1/ export fs_ubifs_image=rootfs-1.22-ubifs-m4k-e1M-4G_vmx53_$(date "+%Y%m%d").bin sudo mkfs.ubifs -m 4096 -e 1040384 -c 4080 -r ${fs_directory} -o ${fs_ubifs_image} cp -av ${fs_ubifs_image} /srv/tftp/vmx53/
Android image for 1GB NAND Flash memory
Prepare working directory
mkdir -pv ~/workdir/vmx53/rootfs/android/ cd ~/workdir/vmx53/rootfs/android/ wget http://downloads.voipac.com/files/i.MX53_SODIMM_PC-Development_Kit/module/software/filesystem/binaries/rootfs-nfs-android-2.3-vmx53-vpac1.tar.gz sudo tar xvzf rootfs-nfs-android-2.3-vmx53-vpac1.tar.gz
Build UBIFS image
cd ~/workdir/vmx53/rootfs/android/ export fs_directory=~/workdir/vmx53/rootfs/android/rootfs-nfs-android-2.3-vmx53-vpac1/ export fs_ubifs_image=rootfs-android23-ubifs_vmx53_$(date "+%Y%m%d").bin sudo mkfs.ubifs -m 4096 -e 520192 -c 2000 -r ${fs_directory} -o ${fs_ubifs_image}
Build UBI image
cd ~/workdir/vmx53/rootfs/android/ cat > ubinize.cfg << EOF_M [ubifs] mode=ubi image=rootfs-android23-ubifs_vmx53_20140807.bin vol_id=0 vol_type=dynamic vol_name=rootfs vol_flags=autoresize EOF_M sudo ubinize -v -o rootfs-android23-ubi_vmx53_$(date "+%Y%m%d").bin -m 4096 -p 512KiB -s 1024 ubinize.cfg