-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CuBox-I] make kernel 3.0.35 available #568
Comments
why would anyone want 3.0.35 ??? |
Did you read it. With the current kernel GPIO, IR, msata, pcie all doesn't work. |
you are joking, right ?
|
Did you actually try to receive with All doesn't work... |
sure
|
How? Also, a Hummingboard? |
ok, I will be polite again. ;) although this was few times step by step described around march at xbian thread on cubox-i forums. and is not about XBian.
(it is because the new IR keymaps as preferred way handling IRs) |
But |
does ir-keytable show you have LIRC supported and actually enabled as protocol ? |
root@cubox:~# ir-keytable if not
|
what RC you have ? I have only Apple and Samsung and result I posted. |
Remote shouldn't matter to |
maybe you have sticker over the IR input ;) |
YES but the cubox-i receiver has limited range. for instance 35k (XBOX) is out of range for it. |
I even checked 😄
Of course i tested it holding it before the IR sensor. |
of course spectrum, not distance. (i know you know) |
As if i'm always that clever.... |
So yes, it's compatible. |
What does this say at your device?
|
root@cubox:~# cat /sys/kernel/debug/gpio GPIOs 32-63, platform/20a0000.gpio, 20a0000.gpio: GPIOs 64-95, platform/20a4000.gpio, 20a4000.gpio: GPIOs 96-127, platform/20a8000.gpio, 20a8000.gpio: GPIOs 128-159, platform/20ac000.gpio, 20ac000.gpio: GPIOs 160-191, platform/20b0000.gpio, 20b0000.gpio: GPIOs 192-223, platform/20b4000.gpio, 20b4000.gpio: |
the same |
It simply doesn't work here. @rabeeh told me to test 3.0.35. Also, the TSOP4838 (also 38Khz) does work on the Raspberry Pi. |
then go for it. I purged in Feb. completely. create new config in xbian-package-kernel. from rabeehs repo. https://github.com/rabeeh/linux.git you don't have to stick with uImage as this is about u-boot, not kernel. just that 3.0.35 doesn't support DTBs. it is all hardcoded in kernel. so you have to specifically build for one of quad/duo/uno. |
I have the Hummingboard i2ex |
(no idea) best resource there ever is Rabeeh. he started with that only option available back than and tried his best to provide a working combo (cubox with linux). but 3.0.35 is simply that much prehistoric that you simply don't want that. kernel itself is spending so much time with just running itself ... brrr |
(ach forgot point. at the time we had 3,0.35 Humming was only at design board) |
He says it's the only kernel working properly with the HB. Two other options:
My idea about 1 is the remove the IR receiver support and put the |
and with loop returning to DTB . ARM has no bios, such info is hardcoded (was), kernels since ??? separated that from kernel (via DTB). because there is separate dtb file for humming it means this info is different and needs to be implemented as target conf in system options (target machine support). if this was done for hum to 3.0.35 I don't know. |
What HB do you have? |
I don't have HB I'm still applying the LIRC patches, but XBOX doesn't build and lirc_rpi is probably conflicting with the in kernel driver. never tried turning the core off. you can. do you want access to the build machine like anaconda has ? |
open ./arch/arm/boot/dtb/ ... this are just text files. mostly written by Russell King. I check often against vanilla 3.14 |
And are those loading at boot time or when compiling the kernel? |
like I said earlier. it was stupid to compile it in (as you create non transferable kernel). so DTB are like additional info kernel can load during boot. if you check the XBian boot script, based on uboot variables correct dtb file is loaded with kernel just one. the dtb files are targets as zImage. so for instance the configuration for building is
|
so once you update the text file in dtb/ you run "make name.dtb" |
My idea would to remove these lines: |
just to have idea WHAT it is (I know you know), with x86 it is loaded from BIOS. ARM has no such thing. |
I don't know but i never needed it :) |
you can just copy that file to another name, "make new_name.dtb" and load it from boot.scr instead the standard. |
I see it is part of imx6dl-hummingboard.dtb ... wait, I will post you just the dtb. changed as you want. |
Can't open it |
|
.com |
Didn't work. Is there a way to check what dtb file was used? I also noticed some difference in the dtb files:
The DualLite is the new one you sent me, the Solo is the original from XBian... Maybe we need two HB dtb files? |
what you need to check / change there ? those pins and signals are defined in imx6sl.dtsi and imx6qsl.dtsi |
in dmesg output check ~4th line
|
you want to disable the 73 ? |
I want to disable the automatiic assignment of GPIO 73 to |
what about
|
Should it be installed by default? Because it's not... Doesn't work. It indeed removes the gpio lock but reading the interrupts of gpio 73 manually doesn't work either. |
I'm currently compiling my own kernel so i can experiment a bit. How can i safely deploy it? |
you are just teasing me, tell me. the build script will provide you with .deb which you install with dpkg as written on the wiki. you have edited it, you know that. for what reason should you be doing differently ? tell me. |
Got it. Didn't use the build scripts. Just ran a normal compilation. I only wanted to know if I needed to take care of something in regard of u-boot and such. |
not in case XBian kernel package was already installed before. In that case you can simply replace files. also I know YOU can compile kernel on your own but to have comparable situation you have to deal with the patches - there was my point going to. |
If i can assume all patches are placed in the |
you see and this is exactly why I asked you to at least clone one new "converted repo". because despite my discussion with @anaconda on your request we told there that content of xbian-patches will move to their respective package repositories, binary copies removed and what will stay will be just config + patches for the build scri[pt to be able to generate same .deb but on its own. and of course if you clone kernel repo convenient would be to have all dependencies at once without playing Colombo what more is missing and where it can be found. so no problem there maybe only that sometimes it makes sense listen to me too :) I just removed folders from xbian-patches repo which are no more used from that location. some others will follow and have no clue what about the rest - this were packages Fred was taking care of but have not heard of him for a long time. |
Because of the (apparent) availability of LTS kernel 3.14.14 (which should also have GPIO fixed) this issue is obsolete. See also #597. |
I can confirm that the latest XBian kernel compilation (of the latest linaro sources) fixes both GPIO and IR. As soon as BTRFS is working as well, i'm ready to replace my Raspberry Pi with a Hummingboard |
This was the conversion i had with rabeeh:
The text was updated successfully, but these errors were encountered: