Jump to content

martinayotte

Members
  • Posts

    3892
  • Joined

  • Last visited

Everything posted by martinayotte

  1. As @zador said, a button in parallel with C301, it means that VCC should be applied to C301, not a short with GND. Anyway, if a GND is applied on Q9 collector, it is good too.
  2. Maybe a thin wire can be attach on Q9, but I didn't figure out yet its location. (I will try to narrow it with magnifier)
  3. 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 ...
  4. Depending of the version of your kernel, old ones called Legacy, it is using FEX to define GPIOs and Peripherals pins. Wit Mainline Kernel, it is using DTS. Maybe the settings currently are already Ok, did you have an /dev/ttyS3 ? If not, then those settings need to be tweaked. What is the kernel version you are using ? Do some search about UART FEX for Legacy. For Mainline, I think my contribution to DTS is already in all Armbian images.
  5. Pin 8/10 ? it should be /dev/ttyS3. Maybe you will need to tweak FEX or DTS, depending of the kernel you are using.
  6. Do you mean the Hardware Serial Port on the Pi header ? It is not /dev/ttyAMA0, but /dev/ttyS2 and /dev/ttyS3, depending which pins you looking at.
  7. Of course, doing plain image backup is troublesome. But take a look at this thread : http://forum.armbian.com/index.php/topic/1070-install-to-emmc/page-2#entry11374 It is producing a 7z zip file which is smaller.
  8. The image for OPi-PC-Plus are located there http://www.armbian.com/orange-pi-pc-plus/
  9. Why should you revert to loboris kernel ? it is simply junk to throw away... You should continue in the Armbian path, even if you are facing pitfalls (those will be easier to fix than loboris ones) ...
  10. I'm usually running Mainline, but in this case, I've rebooted with a Legacy, the "orangepilite 3.4.112-sun8i" and gave it a try. It didn't worked with gpio5, but was working perfectly with gpio110. So, since you got "Device or resource busy" using gpio110, we need more details : Did you tried gpio110 right after reboot (because it could be "busy" by some other apps) ? What kind is your board exactly ? Is your 3.4 coming from Armbian ? (which subversion ?) EDIT : what "cat /sys/kernel/debug/gpio" is showing ?
  11. On this page http://linux-sunxi.org/Xunlong_Orange_Pi_Plus_2, it is mentioned : So, if I were you, I would try it out and give us feedback.
  12. Try the python library that I'm using since awhile from https://github.com/duxingkei33/orangepi_PC_gpio_pyH3 If it is working for you, we can try to figure out why /sys/class/gpio doesn't. (BTW, which kernel are you using ?)
  13. Maybe you can check if it is follow the method used in Mainline ... So, PD14 will be 3 * 32 +14 = 110
  14. OrangePi-Plus or OrangePi-Plus2E ? Because it is not the same processor ... (Xunlong have tendancy to confuse us with board's name )
  15. As some of you know, I've added patches for eMMC in Mainline 4.6.x kernel DTS yesterday, they are no merged. But I've almost forgot that u-boot need some patches too. I did them for u-boot DTS, but I'm still facing issues : The u-boot still doesn't see the eMMC ! U-Boot SPL 2016.05-armbian (Jun 25 2016 - 12:09:52) DRAM: 2048 MiB Card did not respond to voltage select! Could not determine boot source resetting ... Maybe I've missed something (I'm not very familiar with u-boot) While using the SDCard u-boot, doing "mmc list" only shows the SDCard itself, no eMMC I've tried using the u-boot-sunxi-with-spl.bin file that @Ionix, and this one was seeing the eMMC, although it crashed later during kernel, probably for some other reasons. So, I'm sure there is something else missing in the u-boot build which will require a patch, but I can't figure out yet... EDIT : Shame on me ! I've forgotten to apply same kind of patch used in Legacy : +CONFIG_MMC0_CD_PIN="PF6" +CONFIG_MMC_SUNXI_SLOT_EXTRA=2 Now, it is time to debug why kernel crash and reboot, it must related to eMMC too, since the same kernel image is booting fine from SD. On eMMC, the boot log shows : [ 5.442574] random: systemd-udevd urandom read with 2 bits of entropy available [ 46.817443] reboot: Restarting system while same kernel image on SD shows until boot succeed : [ 5.476294] random: systemd-udevd urandom read with 3 bits of entropy available [ 11.361397] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null) ... ... So, the "mounting filesystem" fails ... EDIT2: issue found and manually fixed ! It looks like "nand-sata-install" didn't tweaked the eMMC/boot/boot.cmd which was still pointing to SDCard. I will tell Igor about that so that he can take a look. (BTW, all this debugging was done on a OrangePi-Plus2E with 4.6.2 where eMMC appears as /dev/mmcblk2)
  16. About HDMI mainline, I don't know and didn't follow everything, but I think some patches have been submitted to linux-sunxi by Jef Moine.
  17. Tested with both OrangePi-Lite and OrangePi-Plus2E ! The PR is now sent...
  18. I've been working on the rtl8189fs patches for Mainline. Althouth the source code change between Legacy and Mainline is pretty trivial, preparing good and nice patches becomes a tedious task : - First, the original patch in Legacy contains tons of DOS file formatted (strange for a Linux driver, shame on Realtek) and even dos2unix failed on some files because of binaries character (probably Chinese), I had to edit many files because I wouldn't "signed-off" such ugly thing. (btw, maybe that dos2unix job should be done one Legacy to make it cleaner) - It is a quick big patch, but about the same size as the one in Legacy, about 10MB of text file. - Even after applying the patch, we still need to have some other patches, one for DefConfig in Igor's lib/config and one for DTS which I will work on tomorrow ... - Then, lots of testing need to be done, especially that I need to figured out that everything is working in the fresh build environment, then a PR will be sent to Igor.
  19. I've been working on the rtl8189fs patches for Mainline. I think it is better that I start new thread for it ...
  20. I've received my OPi-Plus-2E this afternoon and done a fresh new Mainline build 5.14 kernel 4.6.2 I've soon discovered that 8189fs was not part of my fresh build. I've done the same thing I did few days ago with my OPi-Lite : patch DTS and build rtl8189fs drivers borrowed from Legacy after apply Hans equivalent patch suggested to me by @jernej, and got it working. I will probably probably have to prepare real patches for the official builds soon. I've seen that eth0 is also not working, but I didn't investigated yet... There is also the eMMC not present, but I think this one is related to new patches needed, I've seen several post on linux-sunix mailing list. BTW, does someone have a link to schematic/board-layout for the OPi-Plus-2E board ? (I didn't find it, I have all of them for others board I have, PC, One, Lite, but I wish to get this one as well as OPi-PC+ that I should received next week)
  21. @tkaiser, I think /usr/bin/free comes from "procps" package.
  22. Yes ! Thanks a lot, @zador ! I'm seeing in the history that it was added a day after I built my Armbian_5.12_Orangepih3_Debian_jessie_4.6.0.raw. But even if were there, since the lsmod wouldn't report 8189fs presence, it wouldn't have created the 8189fs.conf file ... ;-)
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines