please choosego to mobile | Continue to access the PC version
Author: luren

Confused

[Copy link]

0

threads

72

posts

3722

credits

Forum patriarch

Rank: 8Rank: 8

credits
3722
Published in 2016-6-16 02:22:15 | Show all floors
luren replied at 2016-6-15 07:44
I booted the unit with all content of the scriptbin_kernel.tar.gz and it boots up fine, although get ...

Having other scripts and uImages laying there is not going to do you any harm as long as the ones you're using are the correct ones.

What suspicious messages are you getting?

The OPi-one does not have eMMC, AFAIK.

OPi 2. OPi-PC, OPi+2E, OPi-PC2

1

threads

12

posts

51

credits

Registered member

Rank: 2

credits
51
 Author| Published in 2016-6-16 14:08:15 | Show all floors
Hm, okay.
Well, I am booting up using the PC image, and it seems to work as far as I can see. Although I am not sure regarding the uImage. I have tried all, and it boots up every time but I dont know how the different versions of the file would affect the system.

What software should I use for bin2fex?

Regarding error messages, I noticed there were more than a few but dmesg only outputted some of the error I see from booting the unit.
dmesg starts with:
[    0.000000] [ARISC ERROR] :message process error
[   70.702485] [ARISC ERROR] :message addr   : f004b840
[   70.702493] [ARISC ERROR] :message state  : 5
[   70.702500] [ARISC ERROR] :message attr   : 2
[   70.702506] [ARISC ERROR] :message type   : 30
[   70.702513] [ARISC ERROR] :message result : ff
[   70.702520] [ARISC WARING] :callback not install
[   70.702528] [cpu_freq] ERR:set cpu frequency to 1536MHz failed!

And stop with:
[  104.231769] [ARISC ERROR] :message process error
[  104.231788] [ARISC ERROR] :message addr   : f004b840
[  104.231796] [ARISC ERROR] :message state  : 5
[  104.231803] [ARISC ERROR] :message attr   : 2
[  104.231811] [ARISC ERROR] :message type   : 30
[  104.231818] [ARISC ERROR] :message result : ff
[  104.231824] [ARISC WARING] :callback not install
[  104.231836] [cpu_freq] ERR:set cpu frequency to 1536MHz failed!

almost 1200 lines, same error over an over again.

0

threads

72

posts

3722

credits

Forum patriarch

Rank: 8Rank: 8

credits
3722
Published in 2016-6-17 01:03:24 | Show all floors
luren replied at 2016-6-16 03:08
Hm, okay.
Well, I am booting up using the PC image, and it seems to work as far as I can see. Althou ...

bin2fex and fex2bin are part of sunxi-tools. You can install them with apt-get if you manage to get a terminal. Then just use "bin2fex infile outfile" and "fex2bin infile outfile". You can always install sunxi-tools in another computer too, of course.

I don't know about the other errors, but the second line _could_ be due to the wrong RAM size (the PC has 1MB, the One has 512KB), and the cpu_freq line is probably due to the different voltage regulator. Getting a script.bin closer to what your hardware really is _might_ help in those two cases.

It would be best if you could find a script.bin specific for your One, but if you can't and cannot manage to get sunxi-tools working, send me your script.bin and I can take a look at the fex file. Maybe changing a few things like the ones I mentioned might get you further or even boot properly.



OPi 2. OPi-PC, OPi+2E, OPi-PC2

1

threads

12

posts

51

credits

Registered member

Rank: 2

credits
51
 Author| Published in 2016-6-18 15:04:05 | Show all floors
According to : http://linux-sunxi.org/Sunxi-tools#debian.2Fubuntu I should do "apt-get install libusb-1.0-0-dev" to get "sunxi-tools" ? I tried it on my own system, but there is no sun* nor any bin2* commands to use.

Just very baffled that orangepi has put out a board, but they do not have the software ready for it (or any proper information on it).

0

threads

72

posts

3722

credits

Forum patriarch

Rank: 8Rank: 8

credits
3722
Published in 2016-6-19 11:58:56 | Show all floors
luren replied at 2016-6-18 04:04
According to : http://linux-sunxi.org/Sunxi-tools#debian.2Fubuntu I should do "apt-get install libus ...

I am running only the Jacer image on all of my OPi-PCs, which is a Lubuntu image (based on loboris' lubuntu, I tried a few and this is the one that runs the smoothest for me), but at least here I simply had to run "apt-get install sunxi-tools". Perhaps your list of repositories doesn't include one that contains sunxi-tools.

Have you tried this:

# apt-cache search sunxi
u-boot-sunxi - A boot loader for sunxi systems
sunxi-tools - tools for working with Allwinner (sunxi) ARM processors


In my OPi-PCs

# apt-cache policy sunxi-tools

tells me sunxi-tools is in http://ports.ubuntu.com/ubuntu-ports/ vivid/universe armhf Packages

I don't know where it would be in a debian system and especially in the image you're running, but it seems there is nothing special about it, I don't see why it would not be included in your repos. You can of course clone the git sunxi-tools directory and compile it in your system, but it seems so much for something that you should be able to get with one single command line...

This is getting a little off topic, so if you do not manage to get sunxi-tools installed feel free to send me a PM.


OPi 2. OPi-PC, OPi+2E, OPi-PC2

1

threads

12

posts

51

credits

Registered member

Rank: 2

credits
51
 Author| Published in 2016-6-19 13:08:36 | Show all floors
"apt-cache search sunxi" does not return anything

Also, network on the orangepi one does not work.

Thanks for the help, but I think I'll pass.
I was under the impression orangepi was a finished product.

I'll just get the real PI instead.

9

threads

634

posts

4398

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4398
Published in 2016-6-19 14:55:36 | Show all floors
Network on Orange Pi ONE and all other work just fine. Wireless included.

Just pick a proper OS.

1

threads

12

posts

51

credits

Registered member

Rank: 2

credits
51
 Author| Published in 2016-6-19 19:02:35 | Show all floors

9

threads

634

posts

4398

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4398
Published in 2016-6-19 20:59:22 | Show all floors

1

threads

12

posts

51

credits

Registered member

Rank: 2

credits
51
 Author| Published in 2016-6-19 23:46:21 | Show all floors
igorpec, that kinda worked.

Everything boots up fine, but as soon as i log in with root and it says it starts setting up the account (asks for name details etc) the system starts to reboot.. just seems to do this over and over. Am I missing something?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list