Jump to content

laurentppol

Members
  • Posts

    124
  • Joined

  • Last visited

Everything posted by laurentppol

  1. Ok, cloned "working" uSD (dd + gzip + scp + unzip + dd over the network). At least problem with only 1 core is "gone", will do "burn in" test for few days. This also will give me possibility to attach to serial and record boot sequence (swapping cards). But I think it is system problem. It would be interesting to find WHY it gone bad? (after upgrade from Jessie). Anyway I am migrating OpenHAB2 and PostgreSQL to OPi3, more MHz, 2x more RAM. It is too heavy for OPiPC(+). Final target will be OPi4
  2. Yes, I did. My power circuit is quite complicated: battery backed SMPS PSU @ 12V, then SMPS converter (rated 3A) to 5V. Switched to other 12/5V converter/cable, same result. Will also try to replace SD card, but they are both Samsung class 10 32GB.
  3. Ok, forgot. Just copied now, on "non working" there are now /lib/modules/ for 5.4.31 (from NEW board, stock Armbian Buster) AND 5.4.35 (which shows - surprise on OLD board). Rebooted, no change in htop, differencies in lsmod... lsmod -> OLD one: and from NEW one: Does it say something? No encryption/LVM on new may be caused by fact, it was now connected to USB HDD with LUKS/LVM partitions (the old one was).
  4. From the "non-working" one, I'll get this probably during weekend, as I have physical access to it. The other (working 100%) one is at my neighbor, so will do it in few days.
  5. Today I have "upgraded" bootloader. As both devices have identical SD cards and partition layout I simply copied (using dd + scp) beginning of /dev/mmcblk1 from working to "partially working" OPiPC+. Rebooted but NO change, htop still shows only 1 core on "old" one :( What could I check / change next? (as probably 1 core is far not enough in system hosting OpenHAB2 which is quite big Java app).
  6. Hi there, with Armbian Buster "OOB" (+update) I have following problem on Orange Pi 3: - Firefox (with language Polish) does not play network radio: https://www.rmfon.pl/play,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?
  7. 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 (https://www.debian.org/support) Current version of pixman: 0.36.0 Before reporting problems, check http://wiki.x.org 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/sun4i-drm_dri.so: 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
  8. 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?
  9. 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).
  10. Google pointed me to this: https://docs.armbian.com/Hardware_Allwinner/#how-to-reconfigure-video-output 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?
  11. 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.
  12. 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.
  13. 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.
  14. 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).
  15. 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?
  16. 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.
  17. After a small problem (manual install of http://security-cdn.debian.org/pool/updates/main/q/qtbase-opensource-src/libqt5opengl5_5.11.3+dfsg1-1+deb10u3_armhf.deb downloaded synaptic, but then search "pgadmin" reveals ONLY pgadmin3, which is NOT compatible with PGSQL11. Please add PgAdmin4 to the repo.
  18. 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
  19. 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
  20. So I need to upgrade kernel? Why is it not done during apt upgrade? How to do it?
  21. Hi there, I have upgraded from Jessie to Stretch, apt-get update apt-get upgrade change repo name in apt config files update, upgrade. Now I lost some functionality: - X does not start, nor automatic nor manual, message "no screens found" - Firefox crashes even before main window open, no error message (remote X). In armbian-config I tried to install desktop, but command returns quite fast (much faster than on fresh Stretch). It seems no distribution problem, because I have installed Stretch on another card and there everything works fine. (except extreme slow screen update on remote X). What to check? How to repair? Laurent
  22. Hi there, after a recent apt upgrade I have problem with WiFi. I CAN connect to one WiFi, WPA2, static IP. However I CAN'T connect to another one, WPA2, tried with static and dynamic IP. I am using NetworkManager. Searched forum, deleted /etc/networks/interfaces. Information in /etc/NetworkManager/"network name" seems to be correct. Almost the same as for working net. (except uuid & IP info) CAN also connect from laptop. wpa_supplicant line from ps: /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant What should I check else?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines