Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]

18

threads

303

posts

9840

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9840
Published in 2015-10-15 21:13:30 | Show all floors
Kali Linux Distro is missing also Openwrt. Anyone tried to make one?

1

threads

28

posts

191

credits

Registered member

Rank: 2

credits
191
Published in 2015-10-16 03:33:31 | Show all floors
Im trying to build a kernel with the source from mega for my orangepi-pc. I need the sequencer module and hr timing for audio applications.
I ran the config_linux_kernel.sh and selected the modules i needed.
I ran "build_linux_kernel.sh 2", it all compiled without errors.
When i checked the modules i needed... nothing in the build dir.... only the modules that where already selected.
Also not build into kernel...
I try d multiple times.... no change.
I don't get it....

Even worse: the kernel panics.....

10.700429] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   10.795258] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
[   10.795268]


Anybody got a suggestion?

0

threads

25

posts

151

credits

Registered member

Rank: 2

credits
151
Published in 2015-10-16 07:17:28 | Show all floors
No Internet over wired Ethernet

OrangePI-PC_Ubuntu_Vivid_Mate.img and
Fedora22_Mate.img
Both boot on my OPI-PC; my thanks to loboris.

But I cant connect to the Internet over wired Ethernet via my router.

orangepi@OrangePI:~$ ifconfig
lo        Link encapocal Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:336 errors:0 dropped:0 overruns:0 frame:0
          TX packets:336 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:26768 (26.7 KB)  TX bytes:26768 (26.7 KB)

Note:
Network Connection, Wired Connection, Edit, ipv4, Method: Automatic (DHCP)
My router also DHCP and LAN cable ok with other devices
My router sees no additional Device for OPI when connected
If I :
ifconfig eth0 up 192.168.0.25
I get a loopback connection, but no Internet connection.

Cable/Router connects OK to Internet with my RaspberryPi2
Thanks for any help.

10

threads

448

posts

5104

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5104
 Author| Published in 2015-10-16 07:43:28 | Show all floors
Edited by loboris at 2015-10-16 00:54

UPDATED GitHub sources.
The problem with kernel panic after building is now solved.
(As GitHub does not allow empty directories, there was a missing directory in rootfs, solved by creating it in build script)

- For building script.bin files you have to install sunxi-tools package.
- If building on 64bit OS, you must install lib32stdc++6 package (maybe also some other lib32* packages)

@mrroland please, use the git sorces, they are newer. When configuring the kernel with config_linux_kernel use the parameter 2 or plus (new).



10

threads

448

posts

5104

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5104
 Author| Published in 2015-10-16 07:44:46 | Show all floors
Edited by loboris at 2015-10-16 01:08
Harald replied at 2015-10-16 00:17
No Internet over wired Ethernet

OrangePI-PC_Ubuntu_Vivid_Mate.img and

Have you copied the right script.bin ? (Fedora)
OrangePI-PC_Ubuntu_Vivid_Mate.img has the right uImage and script.bin for OPI-PC, ethernet should work.

1

threads

28

posts

136

credits

Registered member

Rank: 2

credits
136
Published in 2015-10-16 08:01:03 | Show all floors
I am presently "so far so good" on my compilation of 4.4 (sunxi-next)

May it rrain cheap clusters, orchestration systems, and doodad platforms today!

10

threads

448

posts

5104

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5104
 Author| Published in 2015-10-16 08:05:03 | Show all floors
jacer replied at 2015-10-15 14:13
Kali Linux Distro is missing also Openwrt. Anyone tried to make one?

Many other distros are missing too ...
It is basicaly easy to create the specific distro if it is available for armhf. I'll probably make Kali and OpenSuse soon...

1

threads

7

posts

229

credits

Intermediate member

Rank: 3Rank: 3

credits
229
Published in 2015-10-16 13:35:35 | Show all floors
Edited by mark2@opi at 2015-10-16 13:50
UPDATED GitHub sources.
The problem with kernel panic after building is now solved.

Successfully build a OPI-plus kernel form github sources, GOOD JOB Loboris!!

On a vanilla Ubuntu(server) 15.04 install, the enclosed toolchain with 32 bit compiler worked after:

(setting up a basic building environment)
sudo apt-get install build-essential u-boot-tools
sudo apt-get install libncurses5-dev

(add 32 architecture and two shared 32bit libs)
sudo dpkg --add-architecture i386
sudo apt-get install libstdc++6:i386 zlib1g:i386


0

threads

25

posts

151

credits

Registered member

Rank: 2

credits
151
Published in 2015-10-16 13:51:34 | Show all floors
"Installation on SD Card:
Copy uImage_OPI-2...to uImage"
When I open the micro-SD, both uImage_OPI-2 and uImage  are files (without extention).
I cannot copy one file to another file?
How do I " mount SD Card FAT partition (BOOT)" to follow instructions. With Win7.
Thanks

1

threads

47

posts

189

credits

Registered member

Rank: 2

credits
189
Published in 2015-10-16 14:08:47 | Show all floors
lymon replied at 2015-10-15 02:37
yes, already tried that , but steffen-g's kernel is probably from another source, as it is missing  ...

I don't think that there is a lot of different 3.4 kernel sources, and, anyway, all drivers must be in each repository.
Which driver(s) do you need?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list