readme.txt 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. Arcturus uCP1020 SoM
  2. ====================
  3. This tutorial describes how to use the predefined Buildroot
  4. configuration for the Arcturus uCP1020 SoM platform.
  5. Additional information about this module can be found at
  6. <www.arcturusnetworks.com/products/ucp1020>
  7. Building
  8. --------
  9. make arcturus_ucp1020_defconfig
  10. make
  11. Result of the build
  12. -------------------
  13. After building, you should obtain this tree:
  14. output/images/
  15. +-- rootfs.jffs2
  16. +-- rootfs.tar
  17. +-- u-boot.bin
  18. +-- ucp1020.dtb
  19. +-- uImage
  20. Flashing
  21. --------
  22. You'll need to program the files created by buildroot into the NOR flash.
  23. 1. Program the new U-Boot binary (optional)
  24. If you don't feel confident upgrading your bootloader then don't do it,
  25. it's unnecessary most of the time.
  26. B$ tftp u-boot.bin
  27. B$ protect off 0xeff80000 +$filesize
  28. B$ erase 0xeff80000 +$filesize
  29. B$ cp.b $loadaddr 0xeff80000 $filesize
  30. B$ protect on 0xeff80000 +$filesize
  31. 2. Program the kernel
  32. B$ tftp uImage
  33. B$ erase 0xec140000 +$filesize
  34. B$ cp.b $loadaddr 0xec140000 $filesize
  35. 3. Program the DTB
  36. B$ tftp ucp1020.dtb
  37. B$ erase 0xec100000 +$filesize
  38. B$ cp.b $loadaddr 0xec100000 $filesize
  39. 4. Program the jffs2 root filesystem
  40. B$ tftp rootfs.jffs2
  41. B$ erase 0xec800000 0xee8fffff
  42. B$ cp.b $loadaddr 0xec800000 $filesize
  43. 5. Booting your new system
  44. B$ setenv norboot 'setenv bootargs root=/dev/mtdblock1 rootfstype=jffs2 console=$consoledev,$baudrate;bootm 0xec140000 - 0xec100000'
  45. If you want to set this boot option as default:
  46. B$ setenv bootcmd 'run norboot'
  47. B$ saveenv
  48. ...or for a single boot:
  49. B$ run norboot
  50. Good Luck !