readme.txt 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. ***************
  2. NXP LS1046A-RDB
  3. ***************
  4. This file documents the Buildroot support for the LS1046A 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/design-center/development-boards-and-designs/LS1046A-RDB
  7. - https://www.nxp.com/products/LS1046A
  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), but has a slower release cadence than LF. The currently used
  11. tag is lf-6.12.34-2.1.0, which is in line with the latest LF tag. Generally, in
  12. Buildroot, the latest Linux Factory release tag is always used, which may be
  13. considered pre-release software, as it may contain features which are not yet
  14. 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.34-2.1.0
  20. - atf (fork), lf-6.12.34-2.1.0
  21. - uboot (fork), lf-6.12.34-2.1.0
  22. - qoriq-fm-ucode (blob), lf-6.12.34-2.1.0
  23. - linux (fork), lf-6.12.34-2.1.0
  24. - fmlib, lf-6.12.34-2.1.0
  25. - fmc, lf-6.12.34-2.1.0
  26. Build
  27. =====
  28. First, configure Buildroot for the LS1046A-RDB board:
  29. make ls1046a-rdb_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-rdb.dtb
  38. - fsl-ls1046a-rdb-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-rdb/genimage.cfg.
  57. Boot the LS1046A-ARDB board
  58. ===========================
  59. To boot your newly created system:
  60. - insert the SD card in the SD slot of the board;
  61. - Configure the DIP switches
  62. SW3[1:8] = 01000110
  63. SW4[1:8] = 00111011
  64. SW5[1:8] = 00100000 (select SD Card boot option)
  65. - put a Micro-USB cable into the console port and connect using a terminal emulator
  66. at 115200 bps, 8n1.
  67. - power on the board.
  68. Alternatively, SD card boot can also be selected from the uboot command prompt:
  69. - insert the SD card in the SD slot of the board;
  70. - put a Micro-USB cable into console Port and connect using a terminal emulator
  71. - power on the board.
  72. - press any key to stop at the uboot command prompt.
  73. - run the following uboot command
  74. => cpld reset sd