reamond

Members
  • Content Count

    28
  • Joined

  • Last visited

 Content Type 

Forums

Member Map

Store

Crowdfunding

Raffles

Applications

Calendar

Everything posted by reamond

  1. How is it looks like with the boot priority on the Pi Zero (with SPI)? So the question is, what about with the Orange Pi Zero when SPI is used and booting from USB... would it prohibit any boot through SD? Is the priority > SPI flash > SD card > eMMC ?
  2. Hi, What are the boot priorities on the Orange Pi Zero 2+ H3 / H5 boards? In case of a working eMMc boot, is it possible to prohibit any boot through SD? Thanks /R
  3. Ok, I created a script, which can switch on and off some part of the processor and with that I reduced the idle temperature to a more reasonable level and limited power consumption when the OPI Zero with heat sink (latest ARMBIAN 5.25 stable Ubuntu 16.04.2 LTS 3.4.113) not in use... so around 30-something C and 0,190A consumption is more reasonable. I can "almost" hook it on a beefy battery. Current Temp. 33-35c, System load 0.07, CPU 3% Use now in idle: 0.190A, 5.01V, 0.951W So what did I switched off > 2 cores Off > Core Max Freq. 240MHz (but test shows this is unnecessary to the fact that it can regulate itself to a minimum in idle) > GPU/HDMI Off > DRAM to 132 Mhz (from 408Mhz and not sure if I can lower it more than 132) > Wifi Off > eth0 is on "10Mb/s/Full, Link: yes", so not changing it I OPI boot from USB... so that I can not switch off.... Is there anything else, what could be altered to be able to even more reduce the power consumption?
  4. So, I did the change in the /etc/modules ,and checked that the modules are not loaded with the command "less /proc/modules" and I also set "h3consumption wifi-hw off" Strangely after the reboot when I do "nmcli radio" WIFI-HW WIFI WWAN-HW WWAN enabled disabled enabled enabled It shows basicly wifi-hw enabled...., but at the same time if I run h3consumption -p ...all wifi related data is gone from the printout. So... is it on or off?... Or only partly initiated?
  5. ... I am not not sure what you mean...? I removed xradio from the /etc/modules #gpio_sunxi #w1-sunxi #w1-gpio #w1-therm #sunxi-cir xradio_wlan xradio_wlan Is that make the trick? I also see that there have been two lines with xradio... I wonder why. /R
  6. I am using ARMBIAN 5.25 stable Ubuntu 16.04.1 LTS 3.4.113.... OK, so if I understand it correctly, the "tasksel --list" command listed packages are not all on the actual drive. They are only executables to be able to pull them through network connection and install them. All u marked are possible to install.. All i marked are actually installed components. Am I on the right track...?
  7. I would like to remove wifi from my Zero... dont need it. The device will not be used network connected. It will serve as an OTG usb dongle only. How to remove or reinstall all wifi related components? It would be also great how to enable / disable ethernet connection from command line... is it just nmcli network off / nmcli network on or is there a more efficient way to do it?
  8. I understand that some of the user don’t care about these things, but I try to create something based on OPI Zero and that need to be able to survive in a case at least a couple of years. In connection to the upgrade I kept (!) the SPI populated with the old boot data (I don’t know how that affect the whole test). Earlier I was not able to use the u-boot from the "legacy" only from the "nightly / Beta" images. Maybe its possible now to use the "legacy" u-boot with the SPI. I hooked up the OPI Zero to see the power consumption of the device, here is my finding ARMBIAN Ubuntu 16.04.1 LTS 3.4.113 in idle (been running 19 hours) Current Temp. 39-40c, System load 0.03, CPU 0% Use: 0.203-0.204A, 4.99-5.00V, 1.012-1.020W I have a cooling heat sink on the CPU (1.30x1.30 copper ), when I do the thumb test (I don’t know how relevant this is(??)... the temperature went down to 36c and after it climbed back slowly to 39-40. After the upgrade to the latest version here follows the result of the same tests: ARMBIAN 5.25 stable Ubuntu 16.04.2 LTS 3.4.113 in idle (been running 30 min) Current Temp. 46-47c, System load 0.08, CPU 1% Use: 0.258A, 4.90V, 1.279W Just for "fun", I did the thumb test... the temperature went down to 43c (after 30 sec) and after it climbed back slowly to 46-47c. LV1_freq = 1200000000 LV1_volt = 1300 LV2_freq = 1008000000 LV2_volt = 1300 LV3_freq = 912000000 LV3_volt = 1100 LV4_freq = 648000000 LV4_volt = 1100 LV5_freq = 480000000 LV5_volt = 1100 LV6_freq = 240000000 LV6_volt = 1100 So it should use 1.1Volt below 913MHz As you can see that the new version (ARMBIAN 5.25) draw significantly more power... over 25% (!). So it’s definitely clear for me that something is differently configured, compared to "16.04.1". So the idea that the temperature discrepancy is related to some kind of temperature calibration in my eyes not really the vital part.
  9. I upgraded some day ago to a new release and I experiencing increase cpu heat. My OPI Zero is running 24/7 and most of the time (99%) it has nothing to do. So its in idle. When I run >> ARMBIAN Ubuntu 16.04.1 LTS 3.4.113 have cpu idle temp around 38-39c (room temperature 22c) After the upgrade to >> ARMBIAN 5.25 stable Ubuntu 16.04.1 LTS 3.4.113 increased the idle temperature to 49-50c (room temperature 22c) Am I alone with this problem..? I dont see any increase in processor activities, but I did not analysed which processes are running and different after the upgrade. Been using, armbianmonitor -m to keep an eye on the temperature. To avoid OPI Zero does funky stuff (push it self up to top freq. in idle)... I even tried to force the top cpu frequency to the minimum (240MHz), but it did not helped regarding the temperature increase. Did the upgrade changed any voltage related parameter? How can I check that? --
  10. I would like to remove "everything" from the installation, which I don’t need, with the goal to minimize the footprint. I installed tasksel and its show a lot of packages on disk... so my question is what can be removed to keep a basic ubuntu server without a desktop interface and with some most used functions and files. I tried to remove some of them, like… ubuntustudio-videoubuntustudio-photography ubuntustudio-graphics mail-server ubuntu-gnome-desktop ... I can imagine to remove all CD installation and images as well... …but my problem is that if I for example remove “ubuntu-gnome-desktopâ€, the OPI Zero is not answering on ssh request any more. So, for me its looks like it does more than just removing the desktop components. Any idea how I can sort this out what package can be removed…?
  11. Ok,so what is the easiest way to do that.. > I put the 3.4.113 image on the sd ... > Than, can I do an"apt-get" to update with the latest boot script? How do I upgrade the boot script...? > Move the image from sd to USB > And than resize with resize2fs
  12. You mentioned that it should work with the nightly built images.... but I am on 5.24.170119 (OPI Zero) and I am not sure if the serial gadget / g_serial is properly installed... my installation is missing the "/sys/bus/platform/devices/sunxi_usb_udc/" folder. So any attempt to activate it fails.
  13. A quick one... is there an estimated date on when a stable version (next version) will be released for OPI Zero...? I am looking for to have the following included: > Full H2+ support / would be great with the goal to to force the power consumption to the lower side > SPI boot from USB > Working serial gadget / Serial through OTG
  14. Thanks! "ARMBIAN 5.24.170114 nightly Ubuntu 16.04.1 LTS 4.9.3-sun8i", the 4.9.3 is up with SPI boot from USB. Excellent! PS. Is there a new warning text on the "Nighty releases"... hope its not just for me ;O))
  15. I updated the SPI with the latest u-boot built... 5.24.170114 now it do some serious blinking on the ethernet port, which it didnt with the previous built. Unfortionatly its still not coming up with the USB... I dont have a working serial console yet (ordered one), so I cant see what its doing, but it definitely get stuck somewhere.
  16. OK, so I tried with an upgrade to "ARMBIAN 5.24.170113 nightly Ubuntu 16.04.1 LTS 3.4.113-sun8i" and copy it to USB, As a second try, I also put ""Ubuntu Xenial server 4.9.0" image on the USB... Unfortionatly none of them come up with the SPI flashed earlier.
  17. Ok, I managed the flashing... I needed to add the chip model to the command (the size of the text is very small, its very had to read... but on my card its a "MX25L1606E"): So this worked without error: sudo flashrom -p linux_spi:dev=/dev/spidev0.0 -w flash.img -c MX25L1605A/MX25L1606E/MX25L1608E I am not sure that boot works now from the USB... because the last part I did not managed to solve yet... I copy with dd the partition to USB... and than? You stated I would need to: 1, So how can I do that... "step by step"... just baby steps for me ) 2, I also seen that some description includes an extra step... adding the drive to the "fstab"... is that needed? My USB, sda1 is "/dev/sda1: UUID="7dd0c931-6f7e-4fbd-83f6-544d0e1b2765" TYPE="ext4" PARTUUID="796122c3-01"" So my guess that the fstab would include than something like this: "UUID="7dd0c931-6f7e-4fbd-83f6-544d0e1b2765 / ext4 defaults 0 1" 3, So other description also adds changes in "/boot/cmdline.txt" , where I would need to change "mmcblk0p2" to "sda1" But I dont have any such a file in my installation... at least I could not find it.... maybe I mixed it up with a Raspberry description. 4, Last but not least... there was a way to mount the SPI Flash to be able to access from the system... What should that be good for?
  18. Hi again, I am not on the top of my game so I need some further guidance. So if I got it right; 1, Move the partition and make it bootable (sounds ok) 2, Put u-boot on SPI, >> How can I do that? 3, Check with serial console what works >> How to check easy way? What are the key logs to check Can I do the check through SSL?
  19. Hi, I am trying to make the OPI Zero boot with the help of the onboard SPI with the goal to boot from an usb drive and not from the sdcard. What steps should be executed. I only managed to get the Xenial image to work with my 512Mb board... so that is what I want to use. I assume... I need to make u-boot work with the sdcard... move the whole thing to the usb drive (with the u-boot) and than populate somehow the SPI with the image of an SPL, which would get it up through the u-boot on the usb. So I would need some in depth guidance (best would be some example commands to be used), what steps and tools should be executed to make it work. Thanks in advance & regards /R
  20. Super... that worked without a hiccup. Thanks /R
  21. Unfortunately I was very hasty and in connection to my goal to copy between sdcards I used Paragon disk manager to shrink my original partition. Like I mentioned... bad move. And now the partition is not bootable. Paragon wrote that I need to "reinit boot loader" , but I can not find any information how to do it. I can not believe it can be complicated... and again I have no idea what to do? Any help.... /R
  22. Hi, I have from the very beginning problem with the reboot command and the reset button on the Orange PI ONE. > The reboot command take down the PI ONE, but it dont get up again. None of the led lights give any sign... so it just dont kick in? > The reset button, is just not responding... I can press it any time... no affect. Any good Idea to figure out where to search for the solution? You can check my log under; http://sprunge.us/iJDe Thanks in advance /R
  23. Ok, It worked... after many hours... the true is I dont know what is the difference now, but it works. And serial communication is up and running between the PI One and PC. Thanks /R
  24. Hi, Unfortunately I back again... Its just not giving any result... no matter what I try. To eliminate the problem I just concentrated on the OPI, with two terminal windows...one in one out. But no matters what I do... nothing I can see trough the CAT command. I followed your lead on all points... but nothing. Can I somehow verify that all components are in place and arbian have no issue... dont really know, just fishing. I tried to use "setserial" (installed), but its did not even see it (it see ttyS0, but not ttyGS0). So now I am stuck... have no idea what causing the problem, that I can not even establish a "local loop" for verification. Any hint which way should I search in the darkness? I try to set the baud rate (looks like the port is on 9600), but it can not even change it! root@orangepione:/home/cdosa# stty -F /dev/ttyGS0 38400 stty: /dev/ttyGS0: unable to perform all requested operations The rest shows my attempt to show what I fed in... root@orangepione:/home/cdosa# ls /dev/ttyGS* /dev/ttyGS0 root@orangepione:/home/cdosa# ls -l /dev/ttyGS0 crw-rw---- 1 root dialout 247, 0 Jun 30 17:23 /dev/ttyGS0 root@orangepione:/home/cdosa# stty -F /dev/ttyGS0 -a speed 9600 baud; rows 0; columns 0; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke root@orangepione:/home/cdosa# echo "xxxxxxxxxxxx hello from OPI xxxxxxxxxxxx" >/dev/ttyGS0 root@orangepione:/home/cdosa# setserial -g /dev/ttyGS0 Cannot get serial info: Invalid argument So thats it... no luck for me yet. /R
  25. Thanks for your add to the thread... I would need some more guiding, because I just can not make it work (. I take it up (ttyGS0 is created, and the OTG_ROLE is 2)... connect to my Mac..,which shows a new tty.usbmodem2411 connection. I try to send a string as you did... but its not coming up with "cat" on the other side... not even on the PI ONE in an other terminal window. Is it a config problem or I am just off the right path? Some print out about the port ttySG0: root@orangepione:/home/sdosa/DATA# dmesg | egrep -i 'serial|ttySG' [ 7.088856] systemd[1]: Starting system-serial\x2dgetty.slice. [ 7.105037] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 7.930490] systemd[1]: Starting LSB: controls configuration of serial ports... [ 8.680042] systemd[1]: Started LSB: controls configuration of serial ports. [ 8401.713876] g_serial gadget: Gadget Serial v2.4 [ 8401.713917] g_serial gadget: g_serial ready [ 8409.225911] g_serial gadget: high-speed config #2: CDC ACM config [ 9022.693175] g_serial gadget: high-speed config #2: CDC ACM config root@orangepione:/home/sdosa/DATA# stty -F /dev/ttyGS0 speed 9600 baud; line = 0; -brkint -imaxbel tty.usbmodem2411: stty -f /dev/tty.usbmodem2411 speed 9600 baud; lflags: -icanon -isig -iexten -echo iflags: -icrnl -ixon -ixany -imaxbel -brkint oflags: -opost -onlcr -oxtabs cflags: cs8 -parenb Any hint where the problem should be... I just installed setserial to be able to administrate the port... but setserial seem to have problem to find it. I know its not the topic of the thread... Please help me out to figure out the problem. /R