2
1

readme.txt 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. **************
  2. NXP LS1046A-FRWY
  3. **************
  4. This file documents the Buildroot support for the LS1046A Freeway Board.
  5. For more details about the board and the QorIQ Layerscape SoC, see the following pages:
  6. - https://www.nxp.com/design/software/qoriq-developer-resources/ls1046a-freeway-board:FRWY-LS1046A
  7. - https://www.nxp.com/FRWY-LS1046A
  8. - https://www.nxp.com/docs/en/quick-reference-guide/FRWY-LS1046AGSG.pdf
  9. Layerscape platforms are officially supported by NXP under the Layerscape
  10. Debian Linux SDK (LDLSDK). This uses components from Linux Factory (project
  11. common with i.MX), currently tag lf-6.6.36-2.1.0, two releases behind the
  12. latest lf-6.12.3-1.0.0. In Buildroot, the latest Linux Factory release tag
  13. is used, which may be considered pre-release software, as it may contain
  14. features which are not yet documented, and it generally undergoes less testing.
  15. For the software Layerscape Debian Linux SDK User Guide, see:
  16. - https://docs.nxp.com/bundle/UG10143/page/topics/about_this_document.html
  17. - https://www.nxp.com/docs/en/user-guide/UG10143.pdf
  18. The components from NXP are:
  19. - rcw, lf-6.12.3-1.0.0
  20. - atf (fork), lf-6.12.3-1.0.0
  21. - uboot (fork), lf-6.12.3-1.0.0
  22. - qoriq-fm-ucode (blob), lf-6.12.3-1.0.0
  23. - linux (fork), lf-6.12.3-1.0.0
  24. - fmlib, lf-6.12.3-1.0.0
  25. - fmc, lf-6.12.3-1.0.0
  26. Build
  27. =====
  28. First, configure Buildroot for the LS1046A-FRWY board:
  29. make ls1046a-frwy_defconfig
  30. Build all components:
  31. make
  32. You will find in output/images/ the following files:
  33. - bl2_sd.pbl
  34. - fip.bin
  35. - fsl_fman_ucode_ls1046_r1.0_106_4_18.bin
  36. - fsl_fman_ucode_ls1046_r1.0_108_4_9.bin
  37. - fsl-ls1046a-frwy.dtb
  38. - fsl-ls1046a-frwy-sdk.dtb
  39. - Image
  40. - PBL.bin
  41. - rootfs.ext2
  42. - rootfs.ext4
  43. - sdcard.img
  44. - u-boot.bin
  45. Create a bootable SD card
  46. =========================
  47. To determine the device associated to the SD card have a look in the
  48. /proc/partitions file:
  49. cat /proc/partitions
  50. Buildroot prepares a bootable "sdcard.img" image in the output/images/
  51. directory, ready to be dumped on a SD card. Launch the following
  52. command as root:
  53. dd if=output/images/sdcard.img of=/dev/sdX
  54. *** WARNING! This will destroy all the card content. Use with care! ***
  55. For details about the medium image layout, see the definition in
  56. board/freescale/ls1046a-frwy/genimage.cfg.
  57. Boot the LS1046A-FRWY board
  58. =========================
  59. To boot your newly created system:
  60. - insert the SD card in the SD slot of the board;
  61. - Configure the switches SW1[1:9] = 0_0100_0000 (select SD Card boot option)
  62. - put a Micro-USB cable into UART1 Port and connect using a terminal emulator
  63. at 115200 bps, 8n1. Or remove the jumper on J72, connect a USB to TTL cable
  64. to J73, and connect using a terminal emualtor at 115200 bps, 8n1.
  65. - power on the board.
  66. The front panel Ethernet connectors are off at boot, to bring them up run the
  67. following commands.
  68. 1G PORT1
  69. ip link set eth1 up
  70. 1G PORT2
  71. ip link set eth2 up
  72. 1G PORT3
  73. ip link set eth0 up
  74. 1G PORT4
  75. ip link set eth3 up