Changes

Jump to: navigation, search

Orange Pi Plus 2E

934 bytes added, 14:43, 23 June 2022
Use Project Configuration Files
/lichee/buildroot/docs.<br>
<br>
=== '''Update Uboot and boot''' ===<br>After modified sys_config.fex, update the new data into SD card(please note that the SD card should have wrote with image, if not, please first finished image writing). Uboot tool will supply in the official website.<br><br>If the mounted point of image is“/dev/sdb”, then you could enter the following command to update u-boot, boot and script.bin:<br>$ dd if=boot0_sdcard_sun8iw7p1.bin of=/dev/sdb bs=1024 seek=8<br>$ dd if=u-boot-sun8iw7p1.bin of=/dev/sdb bs=1024 seek=16400<br><br>u-boot and boot should have been update after the above commands, but the engineering configuration of the binary file has not yet been updated.<br>Copy the generated script.bin to boot partition:<br>$ cd /lichee/<br>$ cp script.bin /media/*/boot/ -rf<br><br>After that, engineering configuration file should have been updated and Orange Pi would run with the new configuration data.<br><br>
=== '''Examples''' ===
<br>
Note: If you want to support the new capacitive touch IC, you need to combine the configuration of the BSP A10 layer, which should be based on the original capacitive touch IC code, to make the appropriate changes. Specifically, 1) ctp_twi_id should be consistent with the hardware connection in sys_config; 2) In the drive part of the code: the use of twi from the device name + address should be consistent with the ctp_name and ctp_twi_addr in sys_config configuration. At the same time, the other sub configuration in sysconfig should also be properly configured, these configurations should be corresponding processing in the program.<br>
<br>
 
== '''Orange Pi Driver development''' ==
<br>

Navigation menu