OK
button.
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.
<my_rootfs.ubi>
):
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.
Microchip and others, are registered trademarks or trademarks of Microchip Technology Inc. and its subsidiaries.
Arm® and others are registered trademarks or trademarks of Arm Limited (or its affiliates). Other terms and product names may be trademarks of others.
Ideas, requests, contributions ? Connect to LinksToCommunities page.