OKbutton. 4. Press Send File Name Browse button and choose your UBI filesystem. 5. Enter the proper address on media in the Address text field. You can find the product map in At91GettingStarted_9n12. So in our case, the value for the filesystem is 0x400000. 6. Press Send File button. A Please Wait... dialog window is appearing: wait for the end of the flashing process. 7. Close SAM-BA, remove the USB cable. Ok, now you must have the Linux root filesystem flashed on your board.
tftp 0x22000000 <my_rootfs.ubi>Erase the rootfs flash partition (252 MB):
nand erase 0x400000 0xfc00000And write the downloaded ubi file on the flash memory. You must use the nand write.trimffs function to avoid ECC errors.
nand write.trimffs 0x22000000 0x400000 0x8200000If the default arguments are not correct, you can also set them with this command:
setenv bootargs 'mem=128M console=ttyS0,115200 mtdparts=atmel_nand:4M(bootstrap/uboot/kernel)ro,-(rootfs) root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs'
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
ARM® and others are registered trademarks or trademarks of ARM Ltd. Other terms and product names may be trademarks of others.
Ideas, requests, contributions ? Connect to LinksToCommunities page.