On Mon, Mar 9, 2015 at 12:15 PM,  <[email protected]> wrote:
> I am using RCN's image-builder to build jessie images for the BBB (was
> previously using Wheezy).  So far so good, I now need to create a custom dtb
> to enable ttyO1,ttyO2,ttyO4 and ttyO5.  I cloned RCN's dtb-rebuilder and
> created a .dts with the following contents:
>
> /dts-v1/;
>
> #include "am33xx.dtsi"
> #include "am335x-bone-common.dtsi"
> #include "am335x-bone-common-pinmux.dtsi"
>
> / {
>  model = "TI AM335x BeagleBone Black";
>  compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
> };
>
> &ldo3_reg {
>  regulator-min-microvolt = <1800000>;
>  regulator-max-microvolt = <1800000>;
>  regulator-always-on;
> };
>
> &ocp {
>  /* clkout2 */
>  P9_41_pinmux {
>  status = "disabled";
>  };
>  /* mmc1 */
>  P9_92_pinmux {
>  status = "disabled";
>  };
> };
>
> &mmc1 {
>  vmmc-supply = <&vmmcsd_fixed>;
> };
>
> &am33xx_pinmux {
>  pinctrl-names = "default";
>  pinctrl-0 = <&clkout2_pin>;
> };
>
> #include "am335x-boneblack-emmc.dtsi"
> #include "am335x-bone-i2c2-cape-eeprom.dtsi"
>
> #include "am335x-bone-ttyO1.dtsi"
> #include "am335x-bone-ttyO2.dtsi"
> #include "am335x-bone-ttyO4.dtsi"
> #include "am335x-bone-ttyO5.dtsi"
>
>
>
>
> However, it seems that while ttyO1, ttyO2 and ttyO4 appear (although the
> device numbering is off as I see ttyO0-ttyO3 in /dev), I'm not seeing ttyO5
> appear.  dmesg shows:
>
> [    2.613986] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
> [    2.616773] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 88,
> base_baud = 3000000) is a 8250
> [    2.634561] console [ttyS0] enabled
> [    2.635559] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 89,
> base_baud = 3000000) is a 8250
> [    2.636413] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 90,
> base_baud = 3000000) is a 8250
> [    2.637193] 481a8000.serial: ttyS3 at MMIO 0x481a8000 (irq = 61,
> base_baud = 3000000) is a 8250
> [    2.637737] omap8250 481aa000.serial: unable to register 8250 port
> [    2.644177] omap8250: probe of 481aa000.serial failed with error -28
>
>
> So it looks like the old "HDMI needs to be disabled" error, except that with
> there's no capemgr in 3.14 loading BB-HDMI and I'm NOT including any of the
> am335x-*hdmi* .dts[i] files.  I *think* this should work as is.  Not sure
> what error -28 is (28 is ENOSPC in errno.h?).
>
> Any ideas on why ttyO5 is not coming up?

I've been seeing that locally too, but i see the issue...

CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4

So... yeah.. next kernel build.... ;)

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.

Reply via email to