readme.txt 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. **************
  2. NXP LS1028ARDB
  3. **************
  4. This file documents the Buildroot support for the LS1028A Reference Design Board.
  5. For more details about the board and the QorIQ Layerscape SoC, see the following pages:
  6. - https://www.nxp.com/design/qoriq-developer-resources/layerscape-ls1028a-reference-design-board:LS1028ARDB
  7. - https://www.nxp.com/LS1028A
  8. Layerscape platforms are officially supported by NXP under the Layerscape
  9. Debian Linux SDK (LDLSDK). This uses components from Linux Factory (project
  10. common with i.MX), currently tag lf-6.6.36-2.1.0, two releases behind the
  11. latest lf-6.12.3-1.0.0. In Buildroot, the latest Linux Factory release tag
  12. is used, which may be considered pre-release software, as it may contain
  13. features which are not yet documented, and it generally undergoes less testing.
  14. For the software Layerscape Debian Linux SDK User Guide, see:
  15. - https://docs.nxp.com/bundle/UG10143/page/topics/about_this_document.html
  16. - https://www.nxp.com/docs/en/user-guide/UG10143.pdf
  17. The components from NXP are:
  18. - rcw, lf-6.12.3-1.0.0
  19. - atf (fork), lf-6.12.3-1.0.0
  20. - uboot (fork), lf-6.12.3-1.0.0
  21. - cadence-dp-firmware (blob), 8.16
  22. - linux (fork), lf-6.12.3-1.0.0
  23. Build
  24. =====
  25. First, configure Buildroot for the LS1028ARDB board:
  26. make ls1028ardb_defconfig
  27. Build all components:
  28. make
  29. You will find in output/images/ the following files:
  30. - bl2_sd.pbl
  31. - fip.bin
  32. - fsl-ls1028a-rdb.dtb
  33. - Image
  34. - PBL.bin
  35. - rootfs.ext2
  36. - rootfs.ext4 -> rootfs.ext2
  37. - sdcard.img
  38. - u-boot.bin
  39. Create a bootable SD card
  40. =========================
  41. To determine the device associated to the SD card have a look in the
  42. /proc/partitions file:
  43. cat /proc/partitions
  44. Buildroot prepares a bootable "sdcard.img" image in the output/images/
  45. directory, ready to be dumped on a SD card. Launch the following
  46. command as root:
  47. dd if=output/images/sdcard.img of=/dev/sdX
  48. *** WARNING! This will destroy all the card content. Use with care! ***
  49. For details about the medium image layout, see the definition in
  50. board/freescale/ls1028ardb/genimage.cfg.
  51. Boot the LS1028ARDB board
  52. =========================
  53. To boot your newly created system:
  54. - insert the SD card in the SD slot of the board;
  55. - Configure the switches SW2[1:4] = 1000 (select SD Card boot option)
  56. - put a DB9F cable into the UART1 Port and connect using a terminal
  57. emulator at 115200 bps, 8n1;
  58. - power on the board.
  59. The Cadence DP (Display Port) firmware must loaded from uboot with the following commands:
  60. => ext2load mmc 0 0x80000000 /boot/ls1028a-dp-fw.bin
  61. 102464 bytes read in 24 ms (4.1 MiB/s)
  62. => hdp load 0x80000000 0x2000
  63. Loading hdp firmware from 0x0000000080000000 offset 0x0000000000002000
  64. Loading hdp firmware Complete
  65. => boot
  66. The interfaces of Ethernet switch (Felix DSA) are bring up with the following commands:
  67. ip link set eno2 up
  68. ip link set swp0 up
  69. ip link set swp1 up
  70. ip link set swp2 up
  71. ip link set swp3 up