Jump to content

martinayotte

Members
  • Posts

    3892
  • Joined

  • Last visited

Posts posted by martinayotte

  1. Unfortunately, I don't see much comments about my recent works ... :(

     

    I wish to get some feedback if some of you tried it out, although, of course, most of you don't have yet my sample overlays, such i2c-enable.dtbo/spi-enable.dtbo/w1-enable.dtbo.

     

    This bring me again the question : where should those samples should be located in standard images ?

    (On beaglebone, they provide some in /lib/firmware)

  2. Those past days, I was working on getting DT ConfigFS Overlays into sun8i-dev.

     

    Today, I've suddenly saw that the version from that we are using from https://github.com/megous/linux(branch orange-pi-4.6) change from 4.6.2 to 4.6.4.

    I didn't care much until I figured out that we loose all the UART1/2/3/4 (only keeping the debug UART0) as well as all I2C (except the one on r_pio for PMIC).

     

    So, "megous" github is back to almost what linux-sunxi github is providing, without all the patches for UART/I2C that I had prepared 3 months ago.

    I get I will have to re-integrate them on our side until there merge into real linxx-sunxi branch.

     

     

     

  3. I posted 2 days ago some progress on Dynamic Device Tree Overlays, but I think I should report here too.

     

    http://forum.armbian.com/index.php/topic/1633-dynamic-device-tree-overlays/#entry12696

     

     

    I've been studying and working on Dynamic Device-Tree Overlays since awhile, but after hard work, I've finally got a working prototype using the work from Pantelis Antoniou.

     

    During last few days, I was doing debugging to find out why it wasn't working, even if I got the ConfigFS working, it was refusing to grab my simple overlay test.

    I've finally figured out this afternoon : the Root/Base DTB need also to be compiled with the "symbols" list generated with the Antoniou's version of "dtc".

     

    So, I will probably prepare a patch soon and submit it thru a PR.

  4. I've been studying and working on Dynamic Device-Tree Overlays since awhile, but after hard work, I've finally got a working prototype using the work from Pantelis Antoniou.

     

    During last few days, I was doing debugging to find out why it wasn't working, even if I got the ConfigFS working, it was refusing to grab my simple overlay test.

    I've finally figured out this afternoon : the Root/Base DTB need also to be compiled with the "symbols" list generated with the Antoniou's version of "dtc".

     

    So, I will probably prepare a patch soon and submit it thru a PR.

     

  5. The UART available on pin 8 and 10 on the Pi header is the UART3, while the UART2 is located on pin 11 and 13.

    So, in the FEX, for the UART3, you simply need to enable it (uart_used = 1) and remove the corresponding pins (PA13/PA14) from the GPIO list.

    For the UART2, the pins to remove from GPIO list are PA00/PA01/PA02/PA03.

  6. For the 1 core in /proc/cpuinfo, I've just figured out now (I didn't noticed before) that all my newer kernels (4.6.2) on orangepilite/orangepipcplus/orangepiplus2e have only 1 core while older ones 4.6.0+ on orangpipc/orangepione have 4 core. So, maybe a bug introduced recently somehow ...

     

    EDIT : Oh ! looking at the root DTS, there wasn't any of this clock stuff defined in 4.6.0+, and in the 4.6.2 it is defined but only for cpu0. So, I wonder if only duplicating it for cpu1/cpu2/cpu3 will do the job.

  7.  

    It also looks like that no data are transmitted on the serial port but I have to verify that again

    That is the key for debugging success.

    You should check what's appearing on this serial in the early boot, you will probably figure out the real reason.

    Maybe a bad SDCard, otherwise something else ...

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines