readme.txt 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. 2. Program the kernel
  31. B$ tftp uImage
  32. B$ erase 0xec140000 +$filesize
  33. B$ cp.b $loadaddr 0xec140000 $filesize
  34. 3. Program the DTB
  35. B$ tftp ucp1020.dtb
  36. B$ erase 0xec100000 +$filesize
  37. B$ cp.b $loadaddr 0xec100000 $filesize
  38. 4. Program the jffs2 root filesystem
  39. B$ tftp rootfs.jffs2
  40. B$ erase 0xec800000 0xee8fffff
  41. B$ cp.b $loadaddr 0xec800000 $filesize
  42. 5. Booting your new system
  43. B$ setenv norboot 'setenv bootargs root=/dev/mtdblock1 rootfstype=jffs2 console=$consoledev,$baudrate;bootm 0xec140000 - 0xec100000'
  44. If you want to set this boot option as default:
  45. B$ setenv bootcmd 'run norboot'
  46. B$ saveenv
  47. ...or for a single boot:
  48. B$ run norboot
  49. Good Luck !