please choosego to mobile | Continue to access the PC version
View: 7257|Reply: 3

orangePi Lite bin2fex Malformed data

[Copy link]

4

threads

14

posts

97

credits

Registered member

Rank: 2

credits
97
Published in 2017-12-9 01:48:28 | Show all floors |Read mode
Edited by mistofeles at 2017-12-9 02:37

Is there anything to do ?
I'm trying to enable ttyS3 and I should do some editing to FEX.
There was some help in:
https://docs.armbian.com/Hardware_Allwinner/

It is told that sunxi-fexc ver 1.4.1 works. In Ubuntu server there comes ver 1.3.1.
Where to get this ver 1.4.1 ?

bin2fex does not work:
root@orangepilite:/boot# bin2fex script.bin
fexc-bin: script.bin: version: 34704.1.2
fexc-bin: script.bin: size: 34704 (81 sections)
E: fexc-bin: Malformed data: version 34704.1.2.

DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"
Linux orangepilite.neva 3.4.113-sun8i #4 SMP PREEMPT Wed Nov 22 13:45:28 CET 2017 armv7l armv7l armv7l GNU/Linux


4

threads

14

posts

97

credits

Registered member

Rank: 2

credits
97
 Author| Published in 2017-12-9 18:11:55 from mobile | Show all floors
Great ! Many thanks.

4

threads

14

posts

97

credits

Registered member

Rank: 2

credits
97
 Author| Published in 2017-12-9 18:18:29 from mobile | Show all floors
Your advice works. Still, it installs the packet to the directory, where I'm in. So I made a change to the ln - commands and copied the sunxi-* files to /usr/ bin. This is not an ideal way, but works. I tested it by connecting ttyS3 and ttyS3, opened two ssh connections to the device, installed picocom and opened it in both terminals. Works good

4

threads

14

posts

97

credits

Registered member

Rank: 2

credits
97
 Author| Published in 2017-12-9 18:25:12 from mobile | Show all floors
I'm running Ubuntu server in OrangePi Lite, because there is no Jessie for Lite. Of course I have Linux in .my PC too, not anything from M$. Btw: /boot/script.bin is by default linked to /boot/bin/orangepipc.bin not tl /boot/bin/orangepilite.bin
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list