On Tue, Sep 16, 2014 at 10:07 AM, Robert Nelson <[email protected]> wrote:
> On Mon, Sep 15, 2014 at 4:03 PM, Charles Steinkuehler
> <[email protected]> wrote:
>> On 9/15/2014 3:59 PM, Robert Nelson wrote:
>>> On Mon, Sep 15, 2014 at 3:54 PM, Charles Steinkuehler
>>> <[email protected]> wrote:
>>>>
>>>> I'm apparently missing some sort of secret sauce (a.k.a. "clues"). :-/
>>>
>>> "deb_pkg" still hasn't learned to autodetect "armhf", so we do some
>>> deb voodoo around that.. ;)
>>>
>>> otherwise, the ti-r19 comes from LOCALVERSION
>>>
>>> So:
>>>
>>> make ARCH=arm KBUILD_DEBARCH=armhf LOCALVERSION=-ti-r19
>>> CROSS_COMPILE=${CC} KDEB_PKGVERSION=1wheezy deb-pkg
>>>
>>> will generate:
>>> linux-image-3.14.17-ti-r19_1wheezy_armhf.deb
>>
>>
>> Many thanks!
>>
>> I figured the missing LOCALVERSION was just something I didn't have vs.
>> the official build scripts, but when I got armel packages instead of
>> armhf I figured something was very wrong so I headed down a different path.
>
> Hey Charles,
>
> Ran into a problem last night with the pinmux, what's the proper way
> to grab a pin. For the lcd4, i need P9_27_gpio_pd_pin
>
> diff --git a/arch/arm/boot/dts/am335x-bone-panel-480x272.dtsi
> b/arch/arm/boot/dts/am335x-bone-panel-480x272.dtsi
> index 2df34ce..6f3dceb 100644
> --- a/arch/arm/boot/dts/am335x-bone-panel-480x272.dtsi
> +++ b/arch/arm/boot/dts/am335x-bone-panel-480x272.dtsi
> @@ -15,7 +15,7 @@
> status = "okay";
> compatible = "ti,tilcdc,panel";
> pinctrl-names = "default";
> - pinctrl-0 = <&bbcape_lcd_pins &bbcape_lcd4_disen_pins>;
> + pinctrl-0 = <&bbcape_lcd_pins &P9_27_gpio_pd_pin>;
> panel-info {
> ac-bias = <255>;
> ac-bias-intrpt = <0>;
>
> but, P9_27_pinmux still grabs it:
>
> [ 3.197699] pinctrl-single 44e10800.pinmux: pin 44e109a4.0 already
> requested by P9_27_pinmux.32; cannot claim for panel.48
> [ 3.209481] pinctrl-single 44e10800.pinmux: pin-105 (panel.48) status -22
> [ 3.216666] pinctrl-single 44e10800.pinmux: could not request pin
> 105 (44e109a4.0) from group pinmux_P9_27_gpio_pd_pin on device
> pinctrl-single
>
> ps, i disabled my git mirror script, so:
>
> https://github.com/RobertCNelson/ti-linux-kernel-dev
>
> is safe today, i'm going to try and only update my ti mirror when i
> already have my patchset rebased.
NM, found a work around..
When we "know" what cape is installed, thus we are already building a
*.dtb for it, just disable the pinmux, as it's already tied to the
cape.
diff --git a/arch/arm/boot/dts/am335x-bone-panel-480x272.dtsi
b/arch/arm/boot/dts/am335x-bone-panel-480x272.dtsi
index 2df34ce..138a619 100644
--- a/arch/arm/boot/dts/am335x-bone-panel-480x272.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-panel-480x272.dtsi
@@ -6,6 +6,12 @@
* published by the Free Software Foundation.
*/
+&ocp {
+ P9_27_pinmux {
+ status = "disabled";
+ };
+};
+
&lcdc {
status = "okay";
};
Regards,
--
Robert Nelson
http://www.rcn-ee.com/
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.