Nathanael Spriet

Members
  • Content Count

    5
  • Joined

  • Last visited

  1. Hi ! We finnaly find how to manage this. I tried to boot with sun5i-a10s-olinuxino-micro.dtb in place of sun4i-a10-olinuxion-lime.dtb , because uart2 was defined in that file, but that doesn't work. So I picked those part in sun5i : uart2@0 { allwinner,pins = "PC18", "PC19"; allwinner,function = "uart2"; allwinner,drive = <0x0>; allwinner,pull = <0x0>; linux,phandle = <0x24>; phandle = <0x24>; }; ... serial@01c28800 { compatible = "snps,dw-apb-uart"; reg = <0x1c28800 0x400>; interrupts = <0x3>; reg-shift = <0x2>; reg-io-width = <0x
  2. I've installed dtc via wget -c https://raw.github.com/RobertCNelson/tools/master/pkgs/dtc.sh I've got the version : DTC 1.4.0-gf345d9e4 EDIT : I removed dtc and the libs associate with it and I reinstalled it via apt-get. It now outputs: Version: DTC 1.4.0
  3. It doesn't work either. In the first part, I replace "SUN4I_PINCTRL_10_MA" and "SUN4I_PINCTRL_NO_PULL" by 0x0 because the compiler doesn't know these references and raise an error. I also add "serial@01c28800" after the alias "uart2:" and then it compiles without errors. But when tested, the previous command (dmesg and the cat) return the same things again.
  4. Sorry for the late answer. We've already seen this solution but our syntax doesn't match with your exemples. For exemple, for the UART0, we have this : pinctrl@01c20800 { ... uart0@0 { allwinner,pins = "PB22", "PB23"; allwinner,function = "uart0"; allwinner,drive = <0x0>; allwinner,pull = <0x0>; linux,phandle = <0x29>; phandle = <0x29>; }; ... }; ... serial@01c28000 { compatible = "snps,dw-apb-uart"; reg = <0x1c28000 0x400>; interrupts = <0x1>; reg-shift = <0x2>; reg-io-width = <0x4>; clocks = <0x28 0x10>; status = "okay
  5. Hello, Thank you for your quick answer. We've executed your commands and these are the results : uname -a : Linux lime-a10 4.1.6-sunxi #20 SMP Mon Aug 24 09:27:58 CEST 2015 armv7l GNU/Linux dmesg | egrep "serial|uart": [ 1.978936] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 28, base_baud = 1500000) is a U6_16550A [ 3.155880] systemd[1]: Starting system-serial\x2dgetty.slice. [ 3.156606] systemd[1]: Created slice system-serial\x2dgetty.slice. sudo cat /proc/tty/driver/serial: serinfo:1.0 driver revision: 0: uart:U6_16550A mmio:0x01C28000 irq:28 tx:56 rx:0 RTS|DTR 1: uart:un