-
Posts
63 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by giri@nwrk.biz
-
-
On 10/21/2019 at 8:09 PM, Paulo said:
I appreciate your help, Giri. My OrangePiZero H2+ is now working on my tv crt.
Regards,
Paulo
Glad to hear
-
Polluting a Linux Distro Release with foreign packages is always a very very bad idea. It may lead to unforeseen library upgrades which may break library ABIs and also may completely mess up your installation. This is one of the reasons why Debian freezes package versions on a per release basis. The Debian model is extremely conservative, but it works. My servers are up and running since Wheezy and upgrades worked flawlessly.
BTW: this package sideloading done by the armbian repos got me in trouble two or three times (quite some time ago). By the time this really pissed me off, so I switched hardware and moved to a proper distro.
Nevertheless, if you really want to pull a package from a foreign release here is how to do the safest way:
Set default release by creating following file:$ nano /etc/apt/apt.conf.d/10defaultRelease
Add this line and save:
APT::Default-Release "stretch";
Now add repo to pull the package from by editing:
$ nano /etc/apt/sources.list
Add following line and save:
deb http://ftp.debian.org/debian/ buster main contrib non-free
Now update package list and install:
$ sudo apt update $ sudo apt install proftpd-basic -t buster
PS: I have no clue about the current state, just stumbled across this thread and totally get the point of some others in here. -
2 hours ago, dony71 said:
I compile devmem2 but cannot write to register. It shows register value still the same
I have Banana Pi M2+ which has allwinner H3
root@bananapim2plus:~/Download/devmem# devmem2 0x01E00130 w 0x00140028
/dev/mem opened.
Memory mapped at address 0xb6fe2000.
Value at address 0x1E00130 (0xb6fe2130): 0xEBD771BF
Written 0x140028; readback 0xEBD771BF
Try to use following tool: https://projects.nwrk.biz/projects/allwinner-tvout
-
Sorry, school kept me pretty busy....
actually i never created a releasable image, i configured everything on the fly on my tablet. I have not done anything since then, but most configs and packages were based on this project: https://projects.nwrk.biz/projects/littldeb -
Hint on how to maybe fix overscanning:
set a smaller resolution by kernel parameter (example):
video=Composite-1:720x480
Move the picture using this tool: https://projects.nwrk.biz/projects/allwinner-tvout
This is a similar approach like I did on legacy kernel (read here)
-
On 7/1/2018 at 12:58 PM, Brun0 said:
Now I just need to learn how to run the tvout command through rc.local But that's just a matter of getting familiar with the linux syntax. I would appreciate help with this.
The rc.local script is a simple bash script which is executed after boot. Just open it with an editor and paste the tvout command that fixed your resulution in there.
Should work somehow like this:
First copy tvout to /usr/local/bin, so it is in your PATH:
$ sudo cp /path/to/tvout /usr/local/bin
Now edit rc.local:
$ sudo nano /etc/rc.local
Should look something like this:
#! /bin/bash tvout -m -x55 -y10
On 7/1/2018 at 12:58 PM, Brun0 said:Unfortunately, in the Armbian provided in the RetrOrangePi image I had the same problem of the quotes below:
For RetrOrangePi related problems you should contact their froum/devs. They seem to have my tvout program included in their image and labeled overscanning issues fixed within their release notes, so I guess they know how to handle it.
-
On 3/11/2018 at 10:09 AM, jjpi said:
That's the most important thing, surely!
For the first revisions not really I guess. The high temperature problem is much worse with the newer revisions of the board.
-
On 10/14/2017 at 7:25 PM, Igor said:
No.FriendlyARM produces nice boards but their software support is very basic. Some would simply say - it sucks. They use the kernel from chip maker which never received any fix or update. It's a common "feature" of most board makers since they usually can't allocate/afford to provide good (Linux = community-based) software on their own. It costs much more than designing a hardware. Armbian project was started because there is a need. A need to have a good, much better Linux on those boards than board makers can provide. (initially, there was a personal need only for one particular board)
In Allwinner community I have to mention a group/project Linux- sunxi who is focused mostly on low-level drivers and mainlining. Armbian is somehow mixed with this group since we do similar stuff but our focus goes from kernel drivers to userspace. Our output is a clean Debian like Linux distribution and powerful tools to make it. The result is on a much higher level than anything from board makers whatever they name it: Raspbian, Ubuntu Core, ... and even something provided from mainstream distributions. That latter is anyway barely existing.
Bottom line. You are wasting time using their images. They have to make them to sell boards which apparently can run "Debian" "Ubuntu" or whatever but after that ... they move to new design. Community/we support boards for years. For example, we still support Cubietruck, which is already around for 4 years and H3 chip will surely be supported many many years. It's popular. Modern kernel (4.13.x) is getting on those boards which means another big jump forward. Board makers are not much present in this game.
I guess he ment the tool pointed out by @RagnerBG:
Yes this tool should be compatible with any kernel version, because it is directly mapping and manipulating hardware registers responsible for the composite video output. This is more a hack, but it works.
-
If you want to create a "web kiosk" you can try to use matchbox as window manager.
-
On 12.10.2017 at 9:48 PM, zador.blood.stained said:
If you patch the kernel (throwing away the default 8192cu and adding a better one) and open a pull request it should be accepted without problems.
Little Update:
I replaced the kernel driver with the one from https://github.com/dz0ny/rt8192cu (->the one installed by the buid script) and found out, that this seems to be the faulty one! (Installed to /lib/modules/$VER-$LINUXFAMILY/kernel/net/wireless/ by default with the help of extras/rtl8192cu.sh, loaded at boot)! The stock driver from the linux-sunxi kernel (drivers/net/wireless/rtl8192cu) works without problems (Installed to /lib/modules/$VER-$LINUXFAMILY/kernel/drivers/net/wireless/ by default, not loaded at boot).I should mention that I do have a internal wireless module.
-
-
There are many much cheaper atom (most of them are x5) based tablets out there with quite acceptable hardware specs. No need to buy this overpriced pocket pc.
For instance:
-
Just now, martinayotte said:
It is probably in a separate partition ...
Jep I also think so
-
Please post the output of following command:
sudo ls /dev/
-
Oh I see. Just found the pre-install script.
Thanks for your help!
-
20 hours ago, zador.blood.stained said:
Any error or error-looking messages earlier?
I started a custom desktop build with a smaller set of packages so I do not have to scroll through the whole history.
Here is the error:
Preparing to unpack .../libmali-sunxi-r3p0_1.0-1~armbian5.31+1_armhf.deb ... Mali binary driver can be used only on sunxi hardware dpkg: error processing archive /var/cache/apt/archives/libmali-sunxi-r3p0_1.0-1~armbian5.31+1_armhf.deb (--unpack): subprocess new pre-installation script returned error exit status 1
Seems like the package checks the hardware during install...
Workaround could be to fetch the deb and manually unpack it with dpkg -x, I am not happy with that approach though.
-
1 hour ago, zador.blood.stained said:
In preinst or later? No error code? Did you modify /etc/armbian-release in any way?
The process fails with following error:
Processing triggers for systemd (229-4ubuntu19) ... Processing triggers for ureadahead (0.100.0-19) ... Errors were encountered while processing: /var/cache/apt/archives/libmali-sunxi-r3p0_1.0-1~armbian5.31+1_armhf.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
-
12 minutes ago, zador.blood.stained said:
In preinst or later? No error code? Did you modify /etc/armbian-release in any way?
No I did not modify /etc/armbian-release. I work within an ubuntu chroot, but I don't think this causes the error.
I just started a build and report the back the details when it fails. -
2 minutes ago, zador.blood.stained said:
Installing glshim for all applications doesn't really work - it doesn't provide full OpenGL implementation so i.e. web browsers and other heavy applications will crash with it, and it's no a good thing.
It can (and should) be used with individual applications by adding the private directory to LD_LIBRARY_PATH (at the beginning), or by preloading a special library.
Well this explains why parole stopped working with glshim. Thank you for pointing this out.
-
2 minutes ago, zador.blood.stained said:
Did it complain the the package could not be installed (like due to missing dependencies) or did it try to install it and failed in the process?
It failed in the process, but apt did not tell me why.
-
17 hours ago, zador.blood.stained said:
If you patch the kernel (throwing away the default 8192cu and adding a better one) and open a pull request it should be accepted without problems.
Ok I'll try to do that. But I am not sure if the default driver is faulty or if the problem is related to my hardware.
17 hours ago, zador.blood.stained said:You need to either tweak their install conditions in packages/extras-buildpkgs/*.conf or add apt-get install ... commands to customize-image.sh, apt.armbian.com is configured at this point and existing packages should be pulled from it without issues.
I tried it by simply adding the packages to userpatches/lib.config, and it seemed to work (except for the libmali-sunxi-r3p0, but apt didn't really tell me why. I will look into that and try your suggestion with the customize-image.sh script).
There is one thing I recognized with the libglshim package. It installs the libraries to an 'lgshim' subdirectory but I think they should be installed to an 'mesa' subdirectory. I needed an symlink to get OpenGL based applications to work. But I am really impressed about the glshim performance .
-
Here is the error (and solution :D):
13 minutes ago, OpenglMan said:dpkg-deb: error: el directorio de control tiene permisos erróneos 777
(debe ser >=0755 y <=0775)
You need to change your folder permissions to something between 755 and 775.
-
Here you go (clonable git url): https://code.nwrk.biz/armbian-giri.git
I tested everything I could test with an orangepizero and with the CSC topwise tablet.
Some background information: I am trying to make a custom image for my tablet with different packages (matchbox environment for touch mode, pseudo desktop environment using lwm, idesk and some other packages for desktop mode), this is why I need an custom skel folder for some preconfigured settings and scripts.By the way, xdm can start a customized session with the help of an .xsession script in the users home directory.
Oh and I recognized, there are two kernel modules for the 8192cu wireless adapter. By default the image loaded the wrong one on my topwise board. (I thought I should mention this and don't expect any support here.)
Is it somehow possible to install packages from the apt.armbian.com repository with the build scripts? (I want to avoid cross compiling :D, Needed packages: libmali-sunxi-r3p0, libglshim)
EDIT1: To fix this wireless module issue, "depmod -a" needs to be executed.
-
I made some changes in the build scripts and wanted to ask if some of you may find them useful...
- ability to use custom skel folder in /userpatches directory
- support for xdm display manager (with graphical keyboard)
- selectable display manager in expert mode (lightdm, xdm or nodm)
Especially the custom skel folder gives much more flexability for modders to generate images for wip or scs boards. I am currently testing different configurations, all seems good so far.
What do you think about these changes? Would a pull request make sense?
[SOLVED] Orange Pi PC H3 Armbian Focal 5.10.4-sunxi av tv out cvbs enable
in Beginners
Posted
The tool envolved from here:
forum.armbian.com/topic/3837-psa-orange-pi-zero-expansion-board-tv-out-not-working-solution/