Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

GNU/Linux@N80XX

OP exception13

22nd February 2013, 09:57 PM   |  #111  
OP Member
Flag Kazan
Thanks Meter: 140
 
76 posts
Join Date:Joined: Mar 2008
Quote:
Originally Posted by darksabre_x

Both times I did select the reboot to recovery option when shutting down Android instead of just power off. Would that make a difference?

"reboot to recovery" use scratchpad memory for pass some options to bootloader. android recovery may handle this and reset "reboot to recovery" flag in scratchpad memory but plain GNU/Linux can't. try with clean shutdown.
The Following User Says Thank You to exception13 For This Useful Post: [ View ]
22nd February 2013, 10:58 PM   |  #112  
Junior Member
Thanks Meter: 2
 
12 posts
Join Date:Joined: Feb 2013
I have managed to boot into linux with the supplied files recovery.img and linux.img.

On my Linux PC i have succesfully compiled the kernel with the patches supplied on page 3.

Are there more recent patches for the kernel of add-on's available? does it have kexec enabled?

The Distro is nice, I will try and see if i can setup Debian on the emmc.

Thanks!!

---------- Post added at 10:58 PM ---------- Previous post was at 10:43 PM ----------

strange:

when i do 'shutdown -h now' the system shutsdown nicely and i can reboot into Android. BUT when i try to boot linux again i get the Android system recovery!!

is it possible that the system resets the recovery image?
23rd February 2013, 12:18 AM   |  #113  
darksabre_x's Avatar
Member
Thanks Meter: 25
 
90 posts
Join Date:Joined: Nov 2008
More
Thumbs up
Quote:
Originally Posted by jan rinze

when i do 'shutdown -h now' the system shutsdown nicely and i can reboot into Android. BUT when i try to boot linux again i get the Android system recovery!!

is it possible that the system resets the recovery image?

That's one of the issues of staying completely stock. The stock rom does indeed flash a stock recovery back upon boot. It's due to the recovery-from-boot.p in /system (You'll need to be rooted to rename or delete this)



Quote:
Originally Posted by exception13

try with clean shutdown.

You were right. I totally forgot about the reboot to recovery flag. After using dd to flash and then powering down the proper way, I now have access to both ArchLinux and my Android rom.
23rd February 2013, 02:42 PM   |  #114  
OP Member
Flag Kazan
Thanks Meter: 140
 
76 posts
Join Date:Joined: Mar 2008
i create http://code.google.com/p/opensgn. current in this repo my linux kernel for n8000 and some stuff
The Following 7 Users Say Thank You to exception13 For This Useful Post: [ View ]
23rd February 2013, 08:38 PM   |  #115  
Junior Member
Thanks Meter: 0
 
5 posts
Join Date:Joined: Feb 2013
thanks exception13

please could you post some instructions to get the mali drivers and hardware 3d acceleration working ?
23rd February 2013, 08:50 PM   |  #116  
Junior Member
Thanks Meter: 2
 
12 posts
Join Date:Joined: Feb 2013
CC drivers/misc/tzic.o
/tmp/cccpbEfZ.s: Assembler messages:
/tmp/cccpbEfZ.s:56: Error: unknown pseudo-op: `.arch_extension'
/tmp/cccpbEfZ.s:182: Error: unknown pseudo-op: `.arch_extension'
/tmp/cccpbEfZ.s:192: Error: unknown pseudo-op: `.arch_extension'
make[2]: *** [drivers/misc/tzic.o] Error 1
make[1]: *** [drivers/misc] Error 2
make: *** [drivers] Error 2

do we really need the Linux Mobicore support configured in the kernel?
23rd February 2013, 09:10 PM   |  #117  
Kondra007's Avatar
Senior Member
Thanks Meter: 71
 
279 posts
Join Date:Joined: Aug 2012
Quote:
Originally Posted by exception13

i create http://code.google.com/p/opensgn. current in this repo my linux kernel for n8000 and some stuff

Are you going to make an standalone app for installing ?
I'm stuck a little bit and didn't manage to install, don't understand how to implement patches.
Could you post your instruction in Russian ?
24th February 2013, 07:34 AM   |  #118  
OP Member
Flag Kazan
Thanks Meter: 140
 
76 posts
Join Date:Joined: Mar 2008
Quote:
Originally Posted by jan rinze

CC drivers/misc/tzic.o
/tmp/cccpbEfZ.s: Assembler messages:
/tmp/cccpbEfZ.s:56: Error: unknown pseudo-op: `.arch_extension'
/tmp/cccpbEfZ.s:182: Error: unknown pseudo-op: `.arch_extension'
/tmp/cccpbEfZ.s:192: Error: unknown pseudo-op: `.arch_extension'
make[2]: *** [drivers/misc/tzic.o] Error 1
make[1]: *** [drivers/misc] Error 2
make: *** [drivers] Error 2

do we really need the Linux Mobicore support configured in the kernel?

which version of gcc and binutils?
The Following User Says Thank You to exception13 For This Useful Post: [ View ]
24th February 2013, 10:56 AM   |  #119  
Junior Member
Thanks Meter: 2
 
12 posts
Join Date:Joined: Feb 2013
Quote:
Originally Posted by exception13

which version of gcc and binutils?

I have tried versions 4.4 , 4.5 , 4.6 and 4.7. all of them struggle with the code at various places.
I have tried to compile on the Panda board natively and on my Debian PC with a cross compiler.

Which version of gcc and binutils do you use?

---------- Post added at 10:56 AM ---------- Previous post was at 10:32 AM ----------

Quote:
Originally Posted by jan rinze

I have tried versions 4.4 , 4.5 , 4.6 and 4.7. all of them struggle with the code at various places.
I have tried to compile on the Panda board natively and on my Debian PC with a cross compiler.

Which version of gcc and binutils do you use?

Also i get these kind of errors which seem like the code is either incomplete or poorly written.

CC drivers/media/video/exynos/fimc-lite/fimc-lite-reg.o
In file included from drivers/media/video/exynos/fimc-lite/fimc-lite-reg.c:16:0:
drivers/media/video/exynos/fimc-lite/fimc-lite-reg.c: In function ‘flite_hw_set_source_format’:
drivers/media/video/exynos/fimc-lite/fimc-lite-core.h:298:32: error: inlining failed in call to always_inline ‘find_flite_format’: function body not available
drivers/media/video/exynos/fimc-lite/fimc-lite-reg.c:103:26: error: called from here
make[5]: *** [drivers/media/video/exynos/fimc-lite/fimc-lite-reg.o] Error 1
make[4]: *** [drivers/media/video/exynos/fimc-lite] Error 2
make[3]: *** [drivers/media/video/exynos] Error 2
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2
24th February 2013, 01:12 PM   |  #120  
Junior Member
Thanks Meter: 2
 
12 posts
Join Date:Joined: Feb 2013
On a side note, the provided linux.img and recovery.img seems to crash and after boot hangs with a fsck error.
when trying to fsck manually it crashes again and hangs.

Does the kernel have overclocking or other stuff enabled? it seems pretty unstable.
Last edited by jan rinze; 24th February 2013 at 01:39 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes