X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fboard%2Ffreescale%2Fp2020ds%2Freadme.txt;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fboard%2Ffreescale%2Fp2020ds%2Freadme.txt;h=a9735b07c536756b31d6fe5280bd368973853b87;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/board/freescale/p2020ds/readme.txt b/cirros-testvm/src-cirros/buildroot-2015.05/board/freescale/p2020ds/readme.txt new file mode 100644 index 0000000..a9735b0 --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/board/freescale/p2020ds/readme.txt @@ -0,0 +1,40 @@ +You'll need to program the files created by buildroot into the flash. +The fast way is to tftp transfer the files via one of the network interfaces. + +Alternatively you can transfer the files via serial console with an Ymodem +file transfer from your terminal program by using a "loady" command +from the u-boot prompt instead of the "tftp ..." commands stated below. +Beware that serial console file transfers are quite slow! + +1. Program the DTB to NOR flash + + => tftp ${loadaddr} p2020ds.dtb + => erase 0xeff00000 0xeff7ffff + => cp.b ${loadaddr} 0xeff00000 ${filesize} + +2. Program the kernel to NOR flash + + => tftp ${loadaddr} uImage + => erase 0xec000000 0xec3fffff + => cp.b ${loadaddr} 0xec000000 ${filesize} + +3. Program the root filesystem to NOR flash + + => tftp ${loadaddr} rootfs.jffs2 + => erase 0xec400000 0xeeffffff + => cp.b ${loadaddr} 0xec400000 ${filesize} + +4. Booting your new system + + => setenv jffs2boot 'setenv bootargs root=/dev/mtdblock4 rootfstype=jffs2 rw console=ttyS0,115200;bootm ec000000 - eff00000' + + If you want to set this boot option as default: + + => setenv bootcmd 'run jffs2boot' + => saveenv + + ...or for a single boot: + + => run jffs2boot + + You can login with user "root".