Patrick 42 Posted yesterday at 03:01 PM Posted yesterday at 03:01 PM (edited) Hi, I'am Patrick from France, it is my first post on the forum. I am porting the Zortrax m200 plus 3D printer to Armbian and my last important step would be to have the LCD screen working. I cross compiled my module but I have this message when installing it: # insmod panel-himax-hx8394.ko [ 1760.189919] BPF: [120533] Invalid name_offset:2238391 [ 1760.195183] failed to validate module [panel_himax_hx8394] BTF: -22 insmod: ERROR: could not insert module panel-himax-hx8394.ko: Invalid parameters Then I added the module source code to the sources, but calling ./compile.sh seems to update the repo and revert my changes such as I do not see my module in there. The next possibility would be to create an image with the kernel headers included. I will try to compile the driver on the system. And is there another way? Edited 23 hours ago by Patrick 42 0 Quote
robertoj Posted 22 hours ago Posted 22 hours ago You dont need to cross-compile. You need to select the in-kernel-source option: https://www.kernelconfig.io/config_drm_panel_himax_hx8394 within the armbian build process. Then you need to create a DTS like: https://forum.armbian.com/topic/47971-driving-the-ili9488-lcd-40-inch-cheap-chinese-clone/ And also dig through the experience in this thread: https://forum.armbian.com/topic/50963-dsi-display-does-not-work-on-raspberry-pi-5/#comment-216030 Send photo of the a33 and LCD 0 Quote
Patrick 42 Posted 21 hours ago Author Posted 21 hours ago (edited) I have managed to compile the driver on the target with a brand new image compiled using "./compile.sh INSTALL_HEADERS=yes". Yet I would like to cross compile it. If you know how, I will greatly appreciate if you give the method. Edited 21 hours ago by Patrick 42 0 Quote
Patrick 42 Posted 40 minutes ago Author Posted 40 minutes ago Thanks Robertoj All the documentation for the board is here https://github.com/zharijs/zmxxxp-re But the LCD is not an himax-hx8394. The screen is a "MTF0397SWI-06" using the chip OTM8019A. It just that I am starting from this driver to port the sunxi driver: sl698ph_720p. I will now look at your links. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.