The EasyARM i.MX287A development kit utilizes a ZLG i.MX287 (ARM9) processor and supports booting from three media types: NAND Flash, TF card, and USB, which are selected via jumper settings.
To disable the root filesystem's write protection, access the U-Boot console and modify the bootargs environment variable. Locate the existing parameter, which typically appears as:
bootargs=gpmi=g console=ttyAM0,115200n8 ubi.mtd=5 root=ubi0:rootfs rootfstype=ubifs ro
Change the ro (read-only) flag to rw (read-write) using the setenv command:
setenv bootargs gpmi=g console=ttyAM0,115200n8 ubi.mtd=5 root=ubi0:rootfs rootfstype=ubifs rw
Then save the environment with saveenv.
The following kernel boot log demonstrates the system's NAND Flash initialization and memory mapping on this board.
... kernel initialization messages ...
Creating 7 MTD partitions on "gpmi-nfc-main":
0x000000000000-0x000000c00000 : "boot 12MB"
0x000000c00000-0x000000c80000 : "env 512KB"
0x000000c80000-0x000000d00000 : "reserved 512KB"
0x000000d00000-0x000000f00000 : "logo 2MB"
0x000000f00000-0x000000f80000 : "reserved 512KB"
0x000000f80000-0x000004f80000 : "rootfs 64MB"
0x000004f80000-0x000008000000 : "opt -"
... driver and filesystem initialization ...
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: mounted read-only
... system services starting ...
Welcome to ZHIYUAN M28x Board
M28x login: root