Linux kernel module for Waveshare 3.2inch RPi LCD (B) V3 touch controller
PATCH 1/1 Linux kernel module for Waveshare 3.2inch RPi LCD (B) V3 touch controller
Hello Yann,
Quoted 8 lines · Yann E. MORIN
Peter, All,
On 2015-01-09 22:40 +0100, Yann E. MORIN spake thusly:
Quoted 1 line
On 2015-01-09 21:21 +0100, Peter Seiderer spake thusly:
[--SNIP--]
Quoted 3 lines
Quoted 2 lines
Maybe the way to go is to wait (or add?) for raspberry pi linux-3.18 kernel support in buildroot with device tree overlay support (see [1],[2])?
Quoted 7 lines
Quoted 3 lines
I'm working on it, and should be able to submit it shortly. You can see the previous attempt in that thread:
http://lists.busybox.net/pipermail/buildroot/2015-January/116241.htmlI've updated my branch, and have now submitted the series:
http://lists.busybox.net/pipermail/buildroot/2015-January/116919.html
Thanks, great work. My RaspberryPi B+ booted with the new linux-kernel/DT support.
The only thing I had to change is the kernel compression standard (in the kernel config file) from CONFIG_KERNEL_XZ=y to CONFIG_KERNEL_GZIP=y because otherweise the script mkknlimg failed with:
"* Is this a valid kernel? In pass-through mode."
Maybe some uncompress tool is missing or is to old on my host? Is it possible to run mkknlimg automatically (with buildroot host/usr/bin path) to avoid such errors (and avoid someone installing zImage without running mkknlimg)?
No DT overlays tested so far (will do soon to enable the buttons on my adafruit28 which need gpios configured to input with pull-up)...
So far:
Regards,
Peter
Quoted 10 lines
Regards,
Yann E. MORIN.Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/1 Linux kernel module for Waveshare 3.2inch RPi LCD (B) V3 touch controller
Peter, All,
On 2015-01-10 02:13 +0100, Peter Seiderer spake thusly:
[--SNIP--]
Quoted 1 line
Thanks, great work. My RaspberryPi B+ booted with the new linux-kernel/DT support.
Thanks for the report. Great! :-)
Quoted 4 lines
The only thing I had to change is the kernel compression standard (in the kernel config file) from
CONFIG_KERNEL_XZ=ytoCONFIG_KERNEL_GZIP=ybecause otherweise the script mkknlimg failed with:
"* Is this a valid kernel? In pass-through mode."
Weird, it is working for me...
Quoted 1 line
Maybe some uncompress tool is missing or is to old on my host?
My xz is:
$ xz --version
xz (XZ Utils) 5.1.0alpha
liblzma 5.1.0alphaCan you check that your xz supports the --single-stream option?
Quoted 4 lines
Is
it possible to run mkknlimg automatically (with buildroot host/usr/bin path) to avoid such errors (and avoid someone installing zImage without running mkknlimg)?
OK, so it seems you do not have xz on your host, and that you rely on the one built by Buildroot, right?
And no, it is not possible to do it in the current Buildroot infrastructure:
- there's no way a package can declare hook (whichever) for another package,
- we do not want to add anything platform-specific to the kernel.
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'