readme.txt 3.0 KB

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