All Activity

This stream auto-updates   

  1. Past hour
  2. Hello, First please excuse me for being not learned enough to do it without asking stupid questions. Here is my goal: Build Armbian (debian jessie) image with some packages included into it, include some web content and scripts into image, run my own script at firstboot to configure apache/mysql etc. So everything to start working out of the box after first boot. I read a little and saw userpatches/customize-image.sh is responsible for custom configuration, but got no idea how to proceed further. For example if I want to install mariadb what should I do? apt-get install mariadb (it says this file was executed in chroot environment) Please if possible guide me in right direction or just post an example.
  3. Sorry I have to correct myself, this is a peripheral register, I am sure this is not documented in the Cortex A7 manual because it is H3 specific. I just checked the H3 Datasheet, but the only reference I found is in the memory mapping TVE 0x01E0 0000---0x01E0 FFFF The datasheet itself ony describes the TVE_Clock_Register which is located at offset 0x120. EDIT: Seems like I got my hands on the wrong R40 Datasheet. I found the register description! This picture describes the register flags in binary format from 31 downto 0: Hope this helps to correct your overscanning issues!
  4. But if I power the LCD and I2C module with 3.3V, it shouldn't output 5V, right?
  5. Today
  6. Which ones exactly? H2+ is actually H3, so you can take a look there. If you need ARM CPU registers, you can take a look at Cortex A7 user manual on ARM site.
  7. But CPU registers and flags are not described in these datasheets.
  8. Thanks, Is there any way to enable and use it? I know how to extract the fex file from bin, but don't know which parameter should be set to enable it.
  9. mm ... that NanoPi deserves a checking. I have two Orange NAS devices working well with Samsung EVO 250G mSATA devices (I had to replace one Orange Pi Zero because it was extremely slow ... it is in my checking basket to see what happened). Then, I needed another with higher storage capacity, so I added a Seagate 2TB 2.5 inches mobile hard disk attached with the official Orange Pi SATA cable. It seems to work very well ... BUT ... In my configuration I need to attach a Raspberry Pi Zero as an OTG slave to the machine in some particular time. I do the same with the other NAS devices without any issue, but in the moment I connect the Raspberry Pi machine to this particular NAS, the hard disk makes a hard break and some partitions are lost. It seems there are some problem with power supply distribution on this NAS ... I will check what other option I have to avoid this problem. It happens no matter what USB port is used.
  10. preview

    How do we going about doing this?
  11. Yeah, I was going to say when I saw the list of four images needed why not just re-use the battery ones that are already in use... I also prefer the blue pinecone armbian logo... looks very slick. When you say too big... are you meaning file size? 3MB being too big for the time that you see the logo?
  12. Yesterday
  13. Well ... there are different references about how SD cards behave in different scenarios (SD, not SDD). The people that has been worried about that is the one uses Arduinos and other types of microcontroller based devices, as they have more "precise" and "narrow" working environments that computer users ... so they try to squeeze the last micro ampere to rescue some hours of battery or to be able to work will just some solar energy. This is from a NXP community doubt regarding SD card consumption. https://community.nxp.com/thread/422802 It has a lot of details about their particular problem, but the following paragraph is a good abstract (it is talking about computing cycles): This is from an Arduino application. https://forum.arduino.cc/index.php?topic=261021.0 There "somebody" describes an online comparison where the Lexar 8GB SDHC Card consumes "about 25%-30% of the other" ones. I have been trying to find that "online comparison" but the Internet it is very big :-) Then it seems that really there is a difference in the power consumption with SD cards (I suppose that also with the SDD disks, but the power supply for an SDD disk go through a different path that for an SD card, so the differences must not to be so critical as to make the booting to fail). But as others (not me) were able to make the 2G-IOT machine to work with 16GB cards, maybe those cards flash controllers do a better job taking care of power. Or really, the synchronization in the RDA Bios has some flaws avoiding several cards not to communicate correctly with the machine. On the power supply. Yes, I know that good quality cables and good quality power sources are paramount. So it is right to quit the power problem ensuring a quality source of power (I don't say 5A or something like that, ... just the needed power). However, the SD card problem go beyond the external power supply.
  14. Well nuts; I didn't search enough. The workaround detailed here: ...looks like it's working for me.
  15. I've got the RTL8723bs working using a temporary build of 4.12 ...
  16. Hello, to all OrangePI PC enthusiasts. Well I'm in the community of those who definitely underestimated the Orange of the PI, but let me share my burden :-) for the fun of it. It started with the camera- gc2035 and vfe_v4l2 modules. Had to try a couple of images until I got it by luck I guess - after that I found out that every image I use is not capable of having a FTDI device connected to "ANY" USB Port (OK, you got me, I didn't try the microUSB and I won't). After that I tried no matter what I wanted to connect to USB it was not even recognized. Now I'm back in changing/swapping around Images until I found one that let me plug anything I want into the USB Ports and it worked (It was Ubuntu xenial5.25), but in exhange for that I could not ever get the camera working again. OK-> now I start compiling with the instructions from igors github page https://github.com/armbian/build and I couldn't compile a single one ??? Now I'm into the vagrant approach, still doing something while typing here, let's see. My question here is to be precise and focused on the topic: Is there an image out there which has both? The Cam and the USB working together or is it bound to some exclusivity? If yes where can I find it, or what do I have to do it to make it? all the best Arminator
  17. Greetings, all! I've got a LeMaker A20 BananaPro, on which I'm using the Armbian mainline distribution (for a more complete description of my setup, please see below). I'm using a serial console to the board; I'm not connecting anything to HDMI for display. I'm running the distribution off of a brand new 8Gig SanDisk Extreme Pro. I would like to use alsa (at least in part) in the audio stack. I'm experiencing the following: When I have no audio playing through the audio out jack, I get a loud (powerline, probably) hum on my speakers. When I start audio playback (a wav through aplay, or an mp3 through mpd, etc.) the hum disappears, and the sound quality is fine. If I pause or stop playback, the hum resumes roughly seven seconds after the audio stops. The pause between the audio stopping and the hum seems consistant. I have found in my research a similar problem people have been having with Ubuntu: http://www.linuxquestions.org/questions/linux-general-1/buzzing-sound-from-speakers-only-when-no-sound-is-playing-ubuntu-kk-790610/ ...which seems to be due to a power saving feature of the driver, but I can't find any reference to a similar feature for the sun4i_codec module. Can anyone offer assistance? I'm not sure what to try next. I'm very happy to test things, try things, etc. Thanks! -Paul Various configuration details below. Results of uname -a: Linux hostname 4.9.12-sunxi #4 SMP Thu Feb 23 19:46:51 CET 2017 armv7l GNU/Linux Contents of /etc/armbian-release: # PLEASE DO NOT EDIT THIS FILE BOARD=bananapipro BOARD_NAME="Banana Pi Pro" VERSION=5.25 LINUXFAMILY=sunxi BRANCH=next ARCH=arm IMAGE_TYPE=stable Results of lsmod: Module Size Used by sun4i_codec 10104 3 snd_soc_core 97876 1 sun4i_codec ir_lirc_codec 4088 0 snd_pcm_dmaengine 2770 1 snd_soc_core evdev 9412 1 lirc_dev 6245 1 ir_lirc_codec snd_pcm 57757 3 snd_pcm_dmaengine,snd_soc_core snd_timer 14809 1 snd_pcm snd 35783 4 snd_timer,snd_soc_core,snd_pcm sun4i_ts 3414 0 soundcore 858 1 snd sunxi_cir 3159 0 nvmem_sunxi_sid 1967 0 nvmem_core 7158 1 nvmem_sunxi_sid sun4i_ss 13213 0 cpufreq_dt 2920 0 uio_pdrv_genirq 2780 0 uio 6272 1 uio_pdrv_genirq bonding 82855 0 brcmfmac 144129 0 brcmutil 4189 1 brcmfmac cfg80211 337391 1 brcmfmac rfkill 8383 2 cfg80211 fuse 62841 1 realtek 2583 0
  18. Thank you ppl for your help. Now I get something more readable like this: Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Savd RF Kill Switch Status/ [ OK ] Started Network Manager Wait Online/ [&▒[z-▒ڴju▒▒U▒▒▒▒▒▒▒▒ɝ▒сr▒▒ݽɭ▒J́z▒▒▒▒▒▒j PTTY Startiog LSB: Apache2 web servdr... Starting /etc/rc.local Compatibilhty... Starting LSB: Start OTP daemon./. Stasting LSB: Start and stop the mysql database seqver daemo Starting LSB; Advanced IDEE 802.11 m`nagement dadmon... St`rting LSB: disk temperature monitorhng daemon../ [ OK ] Started /etc/rc.local Compatibilhty. [ OK ] Started LSB9 Advanced IDEE 802.11 lanagement d`em [ OK ] Started LSB: disk temperature lonitoring d`emon.[ OK ] Started LSB: Start NTP d`emon. [ OK ] Startdd Getty on tty1. [ OK \ Started Sesial Getty oo ttyS0. [ OK ] Started Sdrial Getty on ttyGS0. [ OK ] Seached targdt Login Prompts. Ubuntu 16.04.2 LTS orangepizero ttyS0 orangepizero login: As you can see, sometimes i get some error, that can be some communication error. I use a Chinese arduino as serial communication or maybe the arduino program, anyway, now I have an interface to read and interact. I have other issues to solve like copy from one SD to other, I already copied but need to create the boot. But this will be to other post or deep search. Again thanks and see you again ppl.
  19. Not sure. As I said already, I wanted just understand the procedure, not change it. I remember that there was already a discussion about this on linux-sunxi google group, but I don't remember the conclusion. On the other hand, clock drivers on mainline kernel still evolve. It might even work automatically with upcoming 4.13, but please don't rely on that.
  20. TV unit is described only in A10 and R40 datasheet. Even in those two datasheets some register descriptions are missing, but they should be enough. You can find them through linux-sunxi.org
  21. Hi, long time listener (whos ears do not always understand everything that has been said), first time caller, please be gentle. Like a lot of people I am not a linux expert but I am willing to learn. I have the opizero and the 7601 wifi chip and with the ubuntu legacy kernel the chip worked great and was giving me reasonable wifi speeds (I want to use it as a wireless backup). It worked over multiple reboots until... I did the apt upgrade and the ra0 driver has disappeared and I cannot seem to get it back. the wlan0 also has disappeared but I'm not really fussed about that in this posting I understand that the drivers have been disabled in 5.2.5?? How exactly do I work with the script below? how do I run this, and will this be what I am looking for, since there seems to be some issues with 7601 or 7601U https://github.com/armbian/build/blob/master/extras/mt7601.sh Should I go back to the version that was working, and never do an apt-upgrade? If I should do this, then what would be the offending item that causes me problems in the upgrade? https://askubuntu.com/questions/99774/exclude-packages-from-apt-get-upgrade is this something that I can use or will I have to specifically look out for any network drivers type issue when I have packages that need upgrading. Thanks a ton for all the work that you guys do here, I really appreciate the fact that you guys enable me to use a $10 computer as a wireless server (until I upgrade )
  22. So, the direct connection of the LCD with GPIO also requires a level shifter ... (Logic Level Converter 3.3 / 5V) ...? e.g : http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=1389
  23. I remembered this: https://irclog.whitequark.org/linux-sunxi/2017-05-26#19471905 So GPIO related issues in u-boot would explain broken Ethernet when legacy kernel relies on powering GMAC from u-boot. Can you test SATA too? This commit has a list of boards with SATA powered by GPIO: http://git.denx.de/?p=u-boot.git;a=commit;h=d7b560e6653b248a1920cbd2c5ac393d42e30b61 This commit has a list of boards with GMAC powered by GPIO: http://git.denx.de/?p=u-boot.git;a=commit;h=f5fd78860ab4dbb3bc14ead4f14433f04d6e5cea I assume mainline kernels should be fine mostly if DT has proper config for those pins, and Ethernet can also be tested in u-boot without booting the kernel.
  24. Orange Pi PC+ boots fine ... except boot logo is not working. GMAC at A20 than. Will check some H3 gmac if there are any troubles.
  25. Thanks, that was it. Network is working fine with a new sd-card-image. But when I log in with an normal user (not root) I get: chmod: changing permissions of ‘/etc/update-motd.d/10-header’: Operation not permitted chmod: changing permissions of ‘/etc/update-motd.d/30-sysinfo’: Operation not permitted chmod: changing permissions of ‘/etc/update-motd.d/35-tips’: Operation not permitted chmod: changing permissions of ‘/etc/update-motd.d/40-updates’: Operation not permitted chmod: changing permissions of ‘/etc/update-motd.d/41-armbian-config’: Operation not permitted chmod: changing permissions of ‘/etc/update-motd.d/98-autoreboot-warn’: Operation not permitted
  26. Yeah!! I managed to fix my overscanning! (Credits go to this guy here for pointing me to the right direction!). At first I changed my resolution from the detected 720x576 to 680x536 (-40 px) in the script.bin. This results in an visible edge at the bottom of the screen and an visible edge on the right hand side (with a small black border!). Now the picture needs to be moved down and to the right to be fully visible! Next I needed to manipulate TV ENCODER RE-SYNC PARAMETERS REGISTER of our H2+ SoC. For this I used a little tool called devmem2 which helped me to directly read and write to the memory, and thus allowed me to manipulate the H2+ registers! You can install devmem2 using following commands: wget http://free-electrons.com/pub/mirror/devmem2.c gcc ./devmem2.c sudo mv ./a.out /usr/local/bin/devmem2 After Installing devmem2 I was able to shift the picture by manipulating the value on following Address: 0x01E00130! (=TV ENCODER RE-SYNC PARAMETERS REGISTER) First I read back the actual value (so I could revert back changes in case I messed anything up!): $ sudo devmem2 0x01E00130 /dev/mem opened. Memory mapped at address 0xb6f0d000. Value at address 0x1E00130 (0xb6f0d130): 0x3005000A Now I was able to move the picture by writing a custom value to the register: 0xAXHH?VVV H... are used for Horizontal Offset V... are used for Vertical Offset X... does some weird random sh*t A... is set by CPU (I found this out on a trial and error basis, this information may be incorrect! A H2+ Datasheet would be nice, this would help us understanding this register and its flags..) EDIT: I found the Correct register description in the R40 Datasheet: So I used this command to set my display: $ sudo devmem2 0x01E00130 w 0x00130025 Finally I saved the command above in my rc.local file. This is a dirty workaround and should obivously fixed within the driver! Pictures:
  27. Yes. I just boot PC+ with 2017.03 and it boots fine. Slim chances that it was not recognised before and it is now. Could be SD card issue, but now I have 2017.03 and it works. Will do more tests ... Edit: Banana PRO is real problem, reported by some user few days ago.
  28. Huh? And older releases boot fine?
  1. Load more activity