Advertisement
Guest User

Untitled

a guest
Jul 7th, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. root@home:~# mount|grep boot
  2. /dev/mmcblk0p4 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=936,iocharset=utf8,shortname=mixed,errors=remount-ro)
  3. root@home:~# cat /boot/hw_intfc.conf
  4.  
  5. # Hardware Interface Config
  6.  
  7. # For more details, check https://wiki.radxa.com/Rockpi4/hardware/devtree_overlays.
  8. # Set "on" to enable the optional hardware interfaces while set "off" to disable.
  9.  
  10. intfc:pwm0=off
  11. intfc:pwm1=off
  12. intfc:uart2=off
  13. intfc:uart4=off
  14. intfc:spi1=on
  15. intfc:spi2=on
  16. intfc:i2c2=off
  17. intfc:i2c6=off
  18. intfc:i2c7=off
  19.  
  20. # Devicetree Overlay Enable, uncomment to enable .dtbo under /boot/overlays/.
  21.  
  22. # EEPROM on I2C2
  23. #intfc:dtoverlay=at24c02
  24.  
  25. # Serial console on UART2
  26. #intfc:dtoverlay=console-on-ttyS2
  27.  
  28. # Serial console on UART4
  29. #intfc:dtoverlay=console-on-ttyS4
  30.  
  31. # Dummy spi device on SPI1 for test. Need set: intfc:spi1=on
  32. #intfc:dtoverlay=devspi1
  33.  
  34. # Dummy spi device on SPI2 for test. Need set: intfc:spi2=on
  35. #intfc:dtoverlay=devspi2
  36.  
  37. # PCIE running on GEN2 mode
  38. #intfc:dtoverlay=pcie-gen2
  39.  
  40. # ALLNET 4duino B10/B11 two-coloe-led module on 40-pin Header Pin#35 and Pin#36
  41. #intfc:dtoverlay=two-color-led
  42.  
  43. # waveshare 3.5inch lcd (B v2) on SPI1. Need set: intfc:uart4=off intfc:spi1=on
  44. #intfc:dtoverlay=spi1-waveshare35b-v2
  45.  
  46. # waveshare 3.5inch lcd (C) on SPI1. Need set: intfc:uart4=off intfc:spi1=on
  47. #intfc:dtoverlay=spi1-waveshare35c
  48.  
  49. # spi flash on SPI1. Need set: intfc:uart4=off intfc:spi1=on
  50. intfc:dtoverlay=spi1-flash
  51.  
  52. # hifiberry-dac
  53. #intfc:dtoverlay=hifiberry-dac
  54.  
  55. # hifiberry-dacplus on I2C7. Need set: intfc:i2c7=on
  56. #intfc:dtoverlay=hifiberry-dacplus
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement