readme.txt 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. You'll need to program the files created by buildroot into the flash.
  2. The fast way is to tftp transfer the files via one of the network interfaces.
  3. Alternatively you can transfer the files via serial console with an Ymodem
  4. file transfer from your terminal program by using a "loady" command
  5. from the u-boot prompt instead of the "tftp ..." commands stated below.
  6. Beware that serial console file transfers are quite slow!
  7. 1. Program the DTB to NOR flash
  8. => tftp $loadaddr p1010rdb-pa.dtb
  9. => erase 0xee000000 +$filesize
  10. => cp.b $loadaddr 0xee000000 $filesize
  11. 2. Program the kernel to NOR flash
  12. => tftp $loadaddr uImage
  13. => erase 0xee080000 +$filesize
  14. => cp.b $loadaddr 0xee080000 $filesize
  15. 3. Program the root filesystem to NOR flash
  16. => tftp $loadaddr rootfs.jffs2
  17. => erase 0xee800000 0xeff5ffff
  18. => cp.b $loadaddr 0xee800000 $filesize
  19. 4. Booting your new system
  20. => setenv norboot 'setenv bootargs root=/dev/mtdblock2 rootfstype=jffs2 console=$consoledev,$baudrate;bootm 0xee080000 - 0xee000000'
  21. If you want to set this boot option as default:
  22. => setenv bootcmd 'run norboot'
  23. => saveenv
  24. ...or for a single boot:
  25. => run norboot
  26. You can login with user "root".