• Content Count

  • Joined

  • Last visited

About laurentppol

  • Rank
    Advanced Member

Recent Profile Visitors

477 profile views
  1. Hi there, with Armbian Buster "OOB" (+update) I have following problem on Orange Pi 3: - Firefox (with language Polish) does not play network radio:,25#p , - at the same time: - there are /dev/snd/ files, only for HDMI, but I have read that currently there is no driver for H6 audio, so I may expect at least ALSA is working, - VLC plays MP3 files correctly, (but it can play with pulse and ALSA), - pulseaudio is not started / configured / present. What should I do?
  2. Ok, some progress, attached serial to USB converter: - can enter bootloader, - as in mentioned "howto" issued: "setenv video-mode sunxi:1280x1024-24@60,monitor=hdmi,hpd=0,edid=0 saveenv reset" Here is bootloader output: U-Boot SPL 2019.10-armbian (Feb 17 2020 - 08:24:44 +0100) DRAM: 2048 MiB Trying to boot from MMC1 NOTICE: BL31: v2.2(debug):a04808c-dirty NOTICE: BL31: Built : 08:24:33, Feb 17 2020 NOTICE: BL31: Detected Allwinner H6 SoC (1728) NOTICE: BL31: Found U-Boot DTB at 0xc07f048, model: OrangePi 3 INFO: ARM GICv2 driver initialized NOTICE: PMIC: Probing AXP805 NOTICE: PMIC: AXP805 detected INFO: BL31: Platform setup done INFO: BL31: Initializing runtime services INFO: BL31: cortex_a53: CPU workaround for 855873 was applied INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x4a000000 INFO: SPSR = 0x3c9 U-Boot 2019.10-armbian (Feb 17 2020 - 08:24:44 +0100) Allwinner Technology CPU: Allwinner H6 (SUN50I) Model: OrangePi 3 DRAM: 2 GiB MMC: mmc@4020000: 0, mmc@4022000: 1 Loading Environment from EXT4... OK In: serial@5000000 Out: serial@5000000 Err: serial@5000000 Net: No ethernet found. Hit any key to stop autoboot: 0 => env print -a arch=arm baudrate=115200 board=sunxi board_name=sunxi boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scripta} boot_efi_binary=if fdt addr ${fdt_addr_r}; then bootefi bootmgr ${fdt_addr_r};else bootefi bootmgr ${fdtcontri boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf} boot_net_usb_start=usb start boot_prefixes=/ /boot/ boot_script_dhcp=boot.scr.uimg boot_scripts=boot.scr.uimg boot.scr boot_syslinux_conf=extlinux/extlinux.conf boot_targets=fel mmc_auto usb0 pxe dhcp bootcmd=run distro_bootcmd bootcmd_dhcp=run boot_net_usb_start; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi; bootcmd_fel=if test -n ${fel_booted} && test -n ${fel_scriptaddr}; then echo '(FEL boot)'; source ${fel_scripi bootcmd_mmc0=devnum=0; run mmc_boot bootcmd_mmc1=devnum=1; run mmc_boot bootcmd_mmc_auto=if test ${mmc_bootdev} -eq 1; then run bootcmd_mmc1; run bootcmd_mmc0; elif test ${mmc_bootdi bootcmd_pxe=run boot_net_usb_start; dhcp; if pxe get; then pxe boot; fi bootcmd_usb0=devnum=0; run usb_boot bootdelay=1 bootm_size=0xa000000 console=ttyS0,115200 cpu=armv8 dfu_alt_info_ram=kernel ram 0x40080000 0x1000000;fdt ram 0x4FA00000 0x100000;ramdisk ram 0x4FE00000 0x4000000 distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done efi_dtb_prefixes=/ /dtb/ /dtb/current/ ethaddr=02:07:bd:2e:ac:23 fdt_addr_r=0x4FA00000 fdtcontroladdr=bbf30940 fdtfile=allwinner/sun50i-h6-orangepi-3.dtb kernel_addr_r=0x40080000 load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile} mmc_boot=if mmc dev ${devnum}; then devtype=mmc; run scan_dev_for_boot_part; fi mmc_bootdev=0 partitions=name=loader1,start=8k,size=32k,uuid=${uuid_gpt_loader1};name=loader2,size=984k,uuid=${uuid_gpt_loa; preboot=usb start pxefile_addr_r=0x4FD00000 ramdisk_addr_r=0x4FE00000 scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; d; scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplt scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} $e scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; theni scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${pe scriptaddr=0x4FC00000 serial#=82c00007bd2eac23 soc=sunxi stderr=serial@5000000 stdin=serial@5000000 stdout=serial@5000000 usb_boot=usb start; if usb dev ${devnum}; then devtype=usb; run scan_dev_for_boot_part; fi uuid_gpt_esp=c12a7328-f81f-11d2-ba4b-00a0c93ec93b uuid_gpt_system=b921b045-1df0-41c3-af44-4c6f280d3fae video-mod=sunxi:1280x1024-24@60,monitor=hdmi,hpd=0,edid=0 Environment size: 4500/131068 bytes => Now screen (during boot, text mode), same text as on serial, BUT screen is flickering on/off, power control of monitor stays on like there is always "some" signal. After starting X, screen stays constantly ON, but displaced UP ~1/4 screen (will attach photo later). Some upper part of image is offscreen. Have NOT this effect on same hardware (KVM switch / monitor) with 2 OPiPC+'s. Can login from console, here is output from it after "startx" command as root. root@orangepi3:~# startx X.Org X Server 1.20.4 X Protocol Version 11, Revision 0 Build Operating System: Linux 4.9.0-8-arm64 aarch64 Debian Current Operating System: Linux orangepi3 5.4.43-sunxi64 #20.05.1 SMP Sat May 30 21:02:33 CEST 2020 aarch64 Kernel command line: root=UUID=ed5d037a-2a8e-4395-8d32-5a2a244ef271 rootwait rootfstype=ext4 console=ttyS0,111 Build Date: 05 March 2019 08:11:12PM xorg-server 2:1.20.4-1 ( Current version of pixman: 0.36.0 Before reporting problems, check to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun 3 15:09:26 2020 (==) Using config directory: "/etc/X11/xorg.conf.d" (==) Using system config directory "/usr/share/X11/xorg.conf.d" gbm: failed to open any driver (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri) gbm: Last dlopen error: /usr/lib/dri/ cannot open shared object file: No such file or directy failed to load driver: sun4i-drm (II) modeset(0): Initializing kms color map for depth 24, 8 bpc. At least one error: "failed to load driver". What's next step? Any ideas? OrangePi3.Xorg.0.log
  3. u-boot is (probably) "original" from "OOB" Armbian Jessie. Should I update it now using nand-sata-install? Tried this, using program from working OPi. As there was no "nand-sata-install" on upgraded device. (used scp) It boots, but still shows 1 core :(. Uboot prompt is accessible only from hardware serial?
  4. Hi there, this is continuation of my previous thread about problems with my OPiPC+. 1). "OOB" Armbian Buster, looks working OK, not "ported" all soft / configs from another one. 2). Armbian Jessie upgraded up to Buster, mainly for mosquitto, OpenHAB2, PostgreSQL 11 (for logical replication). Now I have copied everything (only different UUIDS) from working /boot directory to the one with problems. (kernel, initrd, etc). What I do not understand, is fact, that on "good" HTOP shows 4 cores, on "bad" one only 1 core, performance is horrible (OpenHAB startup in minutes). OpenHab (I suspect) can cause whole system to hang - ping works but no even ssh / www. What am I missing? This is mainly to understand "why", more than solve (as I can copy uSD from working one as soon as I migrate services to "new" one).
  5. Google pointed me to this: Is it still valid for Buster (current)? So I have to change boot.cmd, then compile it (which command?) to boot.scr? That's all? [EDIT] In boot.cmd nor armbianEnv.txt I can't find any entry related to display?
  6. Hi there, just got OPi3 (4x 1.8GHz, 2GB RAM, eMMC), and I have (probably) issue with display settings (resolution / refresh rate?). I have an 1280x1024@60Hz VGA monitor, connected to an KVM switch (VGA+USB), then to HDMI->VGA converter. It worked OK for my 2 OPiPC+. Now what happens when I connect OPi3 instead od one of OPiPC+: - installed "OOB" Armbian Buster for OPi3, (server), - during initial startup there was NO question about monitor resolution (differs from initial startup for PC+), - only login / new user dialog. - now screen "flickers", text mode for few seconds, then blank screen, "power" LED of monitor is lit, like there is signal. Random periods. - can user armbian-config to set up basic parameters, network and install "desktop", - can SSH and do remote X session, - during boot-up to GUI there is NO display at all. - if I log in as root (CLI) and then issue "startx", GUI starts, but shifted 1/4 screen high (part of GUI offscreen), 1/4 screen high black bar on bottom. Questions: - hardware problem, or Armbian config problem? - how do I change screen resolution / refresh rate (CLI or GUI)? For text mode and X.
  7. Just loaded boot.bmp into GIMP (2.8), converted to RGB and exported (not saved as) as 32bit BMP. Shows correctly on boot (OPi PC+). :) Enjoy.
  8. GREAT, SOME PROGRESS: I have compared /etc/X11/xorg.conf.d/ contents on both Pi's. On NON working I've found 50-fbturbo.conf. Removed, now X starts :) Still have problem with network to solve.
  9. Hi Igor, VERY nice to see You are still here :). Now I have following situation: 2 OPi PC+ boxes, both (now) with Armbian Buster. NONE of them is 100% working. The "old one" has history: Jessie from *img, software installation + configuration (90% with synaptic, only Postgresql 10 from sources), working 100%. Then kernel upgrade (apt), to 3.4.113, graphics stops to work. Everything else works. So I decided to upgrade (apt) to Stretch then to Buster. Had to manually (but still using apt / dpkg!) upgrade kernel. Almost success: graphics doesn't start either, network not configured at startup, (but after logging to console, configure eth0 with ifconfig, then ssh + xfce-session + nm-gui -> it becomes OK). Bizarre, htop shows only ONE core. The "new one": Buster from *.img, then installing / configuring software (synaptic, + openhab2, will read again how to install). Graphics working. Htop shows 4 cores. Working almost 100% (even start / stop Postgresql with systemctl works!). But still have to install / configure software.AND there is NO PgAdmin4 in repo, needed to manage (graphically) PostgreSql 11 (from repo this time). There IS PgAdmin3 in repo, which is compatible with up to 9.6 version of Postgres, so THIS is a "bug in repo". So now I have 2 ways: - repair "old one" (preferred), - continue to install / configure the "new one" (but this is "Windoze way" ). For both there is problem with PgAdmin4. I think I'll ask for help in identifying problems / repairing system. With "fresh one" installation I think I'll go myself. And we are light-years away from embedded world (like OpenWrt), look at memory (RAM/flash in gigabytes range), MHz (rather GHz), USB3, GbE... resources, it is nearly quite modern PC... THIS is WHY I want to migrate many services (not needing very much resource) to OPi + (maybe) a HDD for large items storage (films etc). And it is running 24/7 so it is perfect for ex home automation. And if maintainers already did the work of compiling / packaging, why try to compile by myself, instead of using packages? BTW both machines DIFFER (slightly) in system level behaviour (text console colors, fonts/icons in graphics), they should not, as they are (now) both Buster... (IMO).
  10. Ok, are we back in 2000? Compiling kernel from source? Wouldn't it be much simpler to install (already existing(!) in Armbian repo, kernel + modules (packages) + force rebuild initrd? The work of building current kernel is already done, just need to know HOW to install (upgrade from Stretch's to be exact) packages. As I can see, now I have (all?) packages in Buster version, EXCEPT kernel. Second, the systemd-journal, just need to know how to diagnose / repair this. Then I'll have logs to diagnose next issues. I'm just new to Debian / Armbian (on PC I use Fedora). Could You help? Or have I to look for Debian support forum? [EDIT] Partially got answer but runt into problem: for upgrading kernel + modules + remake initrd I used: "apt install linux-image-current-sunxi". But after reboot bootloader complains to missing DTD and falls back to DHCP/TFTP boot. Happily I have working system in eMMC so I'll try to boot it, then change links to kernel + initrd into /boot on SD. Then look for package containing DTD. At least some progress. [EDIT2] Just copied DTB from eMMC (there is working OOB Buster) systemd-journal started "automagically", but network doesn't (modules loaded, interfaces created but no addresses nor routes, set up manually from console then ssh) [EDIT3] Now video, from /var/log/X11org.log [ 2047.842] (II) LoadModule: "fbturbo" [ 2047.843] (WW) Warning, couldn't open module fbturbo [ 2047.843] (EE) Failed to load module "fbturbo" (module does not exist, 0) [ 2047.843] (EE) No drivers available. [ 2047.844] (EE) Fatal server error: [ 2047.844] (EE) no screens found(EE) [ 2047.845] (EE) BUT trying to install "fbturbo": root@orangepipcplus:~# apt install xserver-xorg-video-fbturbo Reading package lists... Done Building dependency tree Reading state information... Done Package xserver-xorg-video-fbturbo is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'xserver-xorg-video-fbturbo' has no installation candidate ooops, what now? anyone helps?
  11. Hi there, I have 2 OPi PC+, one was with Jessie, then upgraded to Stretch, Working almost fine, only one issue was "systemctl start postgresql.service" not working. I used a workaround, "su - postgres -c 'pg_ctl start'". Postgres not from repo (previously was from repo) but compiled from source, as I need at least version 10 for "logical replication". Not at some point of time, I noticed message, that kernel package is to upgrade (3.4.112 to 3.4.113). After reboot graphics don't start. "No screens found". Ok, so I tried to upgrade (apt update, apt upgrade, apt dist-upgrade after changing name in /etc/apt/ files). Now it's almost crash: - graphics starts no more, same error, BUT kernel is STILL 3.4.113, not 5.4.20 as in Buster "OOB" (*.img file). - several services doesn't start, including network config. Problem (at least) is in fact, that journal service refuses to start. How to diagnose / repair situation? (as there is no package "journald / systemd-journal" to reinstall). I have "some" software installed / configured on this machine, so I don't want to install from scratch. (openhub2, mosquitto, nginx, postgres - there is minor problem, I need to compile PgAdmin 4 (v3 does work with up to 9.6 version of database), but this in separate thread). Laurent.
  12. After a small problem (manual install of downloaded synaptic, but then search "pgadmin" reveals ONLY pgadmin3, which is NOT compatible with PGSQL11. Please add PgAdmin4 to the repo.
  13. Hi, I have recently installed latest (20) Armbian Desktop for OPi PC(+), have problems installing software from network repo (synaptic). 1). Small version problem with one of Qt5 libraries (dependency for Kadu - Polish communicator GG client), synaptic wants version 1u1, on the net there is version 1u3. Installed using wget + dpkg, now Kadu starts (at least) OK. 2). PostgreSQL problem: there is version 11 of PgSQL provided, OK, it's current production. BUT there is PgAdmin3(!) in repo, which works with at most version 9.6 of PgSQL (from PgAdmin site). Now there is PgAdmin4, but (I) cannot make it work (compile from source OK, but doesn't start)., there is NO PgAdmin4 in repo! 3). systemctl start postgresql.service doest NOT work, returns "Service entered failed state", "su - postgres -c 'pg_ctl_start" WORKS. I have same problem on Fedora 24 i386 on laptop, so it is not platform / system version dependent :( laurent
  14. Hi there, Orange Pi PC+, Armbian Stretch. What I want is to replicate current router (OpenWRT Barrier Breaker on TP-LINK MR3220 v1) on and Orange Pi. I use this router to "share" (using scp from host PC) an USB flash dongle (remote site backup). With its processor copying filer over WiFi SCP is terribly slow (1.2MB/sec). Network Manager "proposes" me to create an WiFi network, but with only NO security or only WEP. I use WPA personal. Configuration on router wlan0 as an AP (WPA), wlan0-1 as WiFi client (also WPA different SSID) with WDS enabled (to act as bridge member), eth0 as usual. All those 3 interfaces bridged together an with 2 IP adresses (bridge). Flash dongle in USB 2.0 port. On Orange Pi all things seems to be already present (wpa_supplicant, hostapd) ready to be configured. Could anyone explain how to create appropriate config files? (link to a proven recipe?). Laurent
  15. So I need to upgrade kernel? Why is it not done during apt upgrade? How to do it?