readme.txt 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. RADXA ROCK 5B
  2. ==============
  3. https://wiki.radxa.com/Rock5/hardware/5b
  4. Build:
  5. ======
  6. $ make rock5b_defconfig
  7. $ make
  8. Files created in output directory
  9. =================================
  10. output/images
  11. .
  12. ├── Image
  13. ├── Image.gz
  14. ├── boot.scr
  15. ├── boot.vfat
  16. ├── image.itb
  17. ├── rk3588-rock-5b.dtb
  18. ├── rk3588_bl31_v1.40.elf
  19. ├── rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.12.bin
  20. ├── rock5b.dts
  21. ├── rock5b.its
  22. ├── rootfs.ext2
  23. ├── rootfs.ext4
  24. ├── rootfs.tar
  25. ├── sdcard.img
  26. ├── u-boot-rockchip.bin
  27. └── u-boot.bin
  28. Creating bootable SD card:
  29. ==========================
  30. Simply invoke (as root)
  31. sudo dd if=output/images/sdcard.img of=/dev/sdX && sync
  32. Where X is your SD card device.
  33. Booting:
  34. ========
  35. Serial console:
  36. ---------------
  37. The Rock 5B has a 40-pin GPIO header. Its layout can be seen here:
  38. https://wiki.radxa.com/Rock5/hardware/5b/gpio
  39. The Uart pins are as follows:
  40. pin 6: gnd
  41. pin 8: tx
  42. pin 10: rx
  43. Baudrate for this board is 1500000.
  44. Login:
  45. ------
  46. Enter 'root' as login user, and the prompt is ready.
  47. wiki link:
  48. ----------
  49. https://forum.radxa.com/c/rock5
  50. Issues:
  51. =======
  52. WiFi
  53. ----
  54. The custom Radxa kernel provides custom code to support WiFi. However,
  55. that code does not compile with GCC 12, which is the current default
  56. version in buildroot. Hence, the WiFi kernel drivers are disabled, until
  57. the issues get fixed (if ever). If they are desperately needed, one may
  58. apply the following workaround, as long as buildroot still supports GCC
  59. version 11:
  60. 1. Set GCC version 11, by adding the following line to
  61. configs/rock5b_defconfig:
  62. BR2_GCC_VERSION_11_X=y
  63. 2. Re-enable custom WiFi drivers by removing the following line from
  64. board/radxa/rock5b/linux.fragment:
  65. # CONFIG_WL_ROCKCHIP is not set
  66. Rockchip FIQ Debugger
  67. ---------------------
  68. The custom kernel used for this board features an FIQ debugger, which
  69. can be activated by typing "fiq" on the serial interface. As this can be
  70. annoying if a user wants to type these charakters and it is not needed
  71. for most users, this board support disables the FIQ debugger by default.
  72. To re-enable the FIQ debugger follow the steps:
  73. 1. In board/radxa/rock5b/rock5b.dts set the status property of the
  74. fiq_debugger node to "okay" and set the status property of the uart2
  75. node to "disabled"
  76. 2. Re-enable the fiq debugger module by removing the following line
  77. from board/radxa/rock5b/linux.fragment:
  78. # CONFIG_ROCKCHIP_FIQ_DEBUGGER is not set