Reply
Thread Tools
Akkumaru's Avatar
Posts: 694 | Thanked: 619 times | Joined on Nov 2011
#111
This happens when I try running ./build_kernel.sh. I run arch linux with gcc 5.1 installed.
Code:
freemangordons-linux-n900 directory already exists.  Skipping cloning of Git repository.
Already on 'v3.16-rc1-n900'
Your branch is up-to-date with 'origin/v3.16-rc1-n900'.
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
#
# configuration written to .config
#
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CC      scripts/mod/devicetable-offsets.s
In file included from include/linux/compiler.h:54:0,
                 from include/uapi/linux/stddef.h:1,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/linux/mod_devicetable.h:11,
                 from scripts/mod/devicetable-offsets.c:2:
include/linux/compiler-gcc.h:106:30: fatal error: linux/compiler-gcc5.h: No such file or directory
compilation terminated.
scripts/Makefile.build:153: recipe for target 'scripts/mod/devicetable-offsets.s' failed
make[2]: *** [scripts/mod/devicetable-offsets.s] Error 1
scripts/Makefile.build:404: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
Makefile:553: recipe for target 'scripts' failed
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes.  Stop.
__________________
Still learning on geeky knowledge
N9 *stolen*N900 *died*N900 *on hiatus* OnePlus X
 

The Following User Says Thank You to Akkumaru For This Useful Post:
wicket's Avatar
Posts: 634 | Thanked: 3,266 times | Joined on May 2010 @ Colombia
#112
Originally Posted by Akkumaru View Post
This happens when I try running ./build_kernel.sh. I run arch linux with gcc 5.1 installed.
Code:
freemangordons-linux-n900 directory already exists.  Skipping cloning of Git repository.
Already on 'v3.16-rc1-n900'
Your branch is up-to-date with 'origin/v3.16-rc1-n900'.
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
#
# configuration written to .config
#
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CC      scripts/mod/devicetable-offsets.s
In file included from include/linux/compiler.h:54:0,
                 from include/uapi/linux/stddef.h:1,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/linux/mod_devicetable.h:11,
                 from scripts/mod/devicetable-offsets.c:2:
include/linux/compiler-gcc.h:106:30: fatal error: linux/compiler-gcc5.h: No such file or directory
compilation terminated.
scripts/Makefile.build:153: recipe for target 'scripts/mod/devicetable-offsets.s' failed
make[2]: *** [scripts/mod/devicetable-offsets.s] Error 1
scripts/Makefile.build:404: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
Makefile:553: recipe for target 'scripts' failed
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes.  Stop.
GCC 5 is not supported on the kernel you are building. Try building 3.18 or above or alternatively build it with GCC 4. As I mentioned in my previous post, I will be looking into updating the default kernel with a more recent one.
__________________
DebiaN900 - Native Debian on the N900. Deprecated in favour of Maemo Leste.

Maemo Leste for N950 and N9 (currently broken).
Devuan for N950 and N9.

Mobile devices with mainline Linux support - Help needed with documentation.

"Those who do not understand Unix are condemned to reinvent it, poorly." - Henry Spencer
 

The Following 2 Users Say Thank You to wicket For This Useful Post:
Akkumaru's Avatar
Posts: 694 | Thanked: 619 times | Joined on Nov 2011
#113
Originally Posted by wicket View Post
GCC 5 is not supported on the kernel you are building. Try building 3.18 or above or alternatively build it with GCC 4. As I mentioned in my previous post, I will be looking into updating the default kernel with a more recent one.
Ah I see, I just realized. Built it with GCC 4.9. Funny how it was compiler-gcc5.h that it said was missing XD
__________________
Still learning on geeky knowledge
N9 *stolen*N900 *died*N900 *on hiatus* OnePlus X
 

The Following User Says Thank You to Akkumaru For This Useful Post:
Akkumaru's Avatar
Posts: 694 | Thanked: 619 times | Joined on Nov 2011
#114
New problem When I run ./install_debian.sh, after extracting the packages this shows up
Code:
W: Failure trying to run: chroot /mnt mount -t proc proc /proc
This is in /mnt/debootstrap/debootstrap.log
Code:
chroot: failed to run command ‘mount’: Exec format error
__________________
Still learning on geeky knowledge
N9 *stolen*N900 *died*N900 *on hiatus* OnePlus X
 

The Following User Says Thank You to Akkumaru For This Useful Post:
wicket's Avatar
Posts: 634 | Thanked: 3,266 times | Joined on May 2010 @ Colombia
#115
Originally Posted by Akkumaru View Post
New problem When I run ./install_debian.sh, after extracting the packages this shows up
Code:
W: Failure trying to run: chroot /mnt mount -t proc proc /proc
This is in /mnt/debootstrap/debootstrap.log
Code:
chroot: failed to run command ‘mount’: Exec format error
It sounds like qemu-debootstrap is failing to run the ARM binaries. Make sure you have installed QEMU with ARM support.

Edit: Thanks for finding this. I've now updated the README and script to check for the existence of qemu-arm-static so that it will fail gracefully before the installation starts.
__________________
DebiaN900 - Native Debian on the N900. Deprecated in favour of Maemo Leste.

Maemo Leste for N950 and N9 (currently broken).
Devuan for N950 and N9.

Mobile devices with mainline Linux support - Help needed with documentation.

"Those who do not understand Unix are condemned to reinvent it, poorly." - Henry Spencer

Last edited by wicket; 2015-06-15 at 22:03.
 
Posts: 92 | Thanked: 144 times | Joined on Apr 2014
#116
Originally Posted by freemangordon View Post
The so-called xprot module (which is part of voice module blob in maemo) is still not ready. xprot is exactly what protects n900's speakers to not produce white smoke . So, we still don't have the needed functionality.

xprot is the next thing I will try to finish.

EDIT:
BTW that shouldn't stop you from building what is already being done against debian PA and testing it. with external speakers connected to 3.5 mm jack n900 is perfectly safe.
Would installing DebiaN900 and using ALSA be a solution to play stutter free audio (or acceptably less stutter) gapless through oscp or panucci with a 44.1khz mp3 files audiobook? Simply playing these files makes my N900 go loco. Any proposed fixes I have read do not eliminate the problem..yet. Even when not having started any other apps it is hard to comfortably listen when the sound breaks up every few sentences.

See previous post : http://talk.maemo.org/showpost.php?p...&postcount=195

Or is there being worked on an updated version of pulseaudio, freemangordon perhaps? I've tried on latest cssu testing, thumb, stable (three seperate devices) with pulseaudio 0.9.15-1maemo43+0m5. Same issue with multiple files!

Should this be learned to live with or is a fix possible?

Last edited by Dongle Fongle; 2015-06-16 at 00:28.
 
wicket's Avatar
Posts: 634 | Thanked: 3,266 times | Joined on May 2010 @ Colombia
#117
Originally Posted by Dongle Fongle View Post
Would installing DebiaN900 and using ALSA be a solution to play stutter free audio (or acceptably less stutter) gapless through oscp or panucci with a 44.1khz mp3 files audiobook? Simply playing these files makes my N900 go loco. Any proposed fixes I have read do not eliminate the problem..yet. Even when not having started any other apps it is hard to comfortably listen when the sound breaks up every few sentences.

See previous post : http://talk.maemo.org/showpost.php?p...&postcount=195

Or is there being worked on an updated version of pulseaudio, freemangordon perhaps? I've tried on latest cssu testing, thumb, stable (three seperate devices) with pulseaudio 0.9.15-1maemo43+0m5. Same issue with multiple files!

Should this be learned to live with or is a fix possible?
Using ALSA without PulseAudio and the xprot module would result in speaker damage although that shouldn't be a problem if you plug in headphones (try it at your own risk!). The rest is off topic for this thread.
__________________
DebiaN900 - Native Debian on the N900. Deprecated in favour of Maemo Leste.

Maemo Leste for N950 and N9 (currently broken).
Devuan for N950 and N9.

Mobile devices with mainline Linux support - Help needed with documentation.

"Those who do not understand Unix are condemned to reinvent it, poorly." - Henry Spencer
 

The Following User Says Thank You to wicket For This Useful Post:
wicket's Avatar
Posts: 634 | Thanked: 3,266 times | Joined on May 2010 @ Colombia
#118
I've just pushed a bunch of commits.

Here are the highlights:
  • It's now using a kernel from Pali's repository. The default kernel is now 4.0-rc1. I tested the 4.1 branches but there is a regression that breaks the touchscreen (mouse) cursor. This fixes the hang issue on shutdown/suspend and also fixes the RTC so that the previously in-place workaround is no longer required. See here and here for more info.
  • You can now create debian.conf.local and kernel.conf.local files to override the regular conf files with your own settings. These files are not tracked by Git so you won't lose your settings when pull the latest files. Additional packages can be installed with debootstrap by setting the EXTRA variable in debian.conf.local.
  • New SUPPRESS_DISCLAIMER and SUPPRESS_WARNING options for unattended installs.
  • Parts that require interactivity (setting up passwords, locale and time zone) have been moved to run on first boot instead of the chroot phase. This completes the rest of work needed for unattended installs.
  • Various portability fixes for POSIX compliance.
  • Kernel build script now includes all features needed for full LXC hosting (can be disabled if undesired).
  • OverlayFS has been enabled in the kernel build (can be disabled if undesired).
  • rfkill has been enabled in the kernel build (can be disabled if undesired).
  • Fremantle's file systems (NAND and eMMC) are now automatically mounted under /srv/fremantle (also configurable).
__________________
DebiaN900 - Native Debian on the N900. Deprecated in favour of Maemo Leste.

Maemo Leste for N950 and N9 (currently broken).
Devuan for N950 and N9.

Mobile devices with mainline Linux support - Help needed with documentation.

"Those who do not understand Unix are condemned to reinvent it, poorly." - Henry Spencer
 

The Following 11 Users Say Thank You to wicket For This Useful Post:
Posts: 12 | Thanked: 17 times | Joined on Jul 2015
#119
So, we could have libgles at least up to Linux 3.14
http://processors.wiki.ti.com/index.php/RN_5_01_01_02
Enlightenment Illume does support that, doesn't it?


Ideas on how to integrate it might be found here:
http://git.yoctoproject.org/cgit/cgi...aphics/libgles
 

The Following User Says Thank You to Eno-Desu For This Useful Post:
wicket's Avatar
Posts: 634 | Thanked: 3,266 times | Joined on May 2010 @ Colombia
#120
Originally Posted by Eno-Desu View Post
So, we could have libgles at least up to Linux 3.14
http://processors.wiki.ti.com/index.php/RN_5_01_01_02
Enlightenment Illume does support that, doesn't it?


Ideas on how to integrate it might be found here:
http://git.yoctoproject.org/cgit/cgi...aphics/libgles
Thanks. I found the TI drivers a few weeks ago and started to look into integrating them but I've had to put in on the back burner again. :/

Here's the complete set:

http://software-dl.ti.com/dsps/dsps_public_sw/gfxsdk/

It's worth noting that there aren't any softfp drivers for the last couple of versions. The last softfp release was 5.01.00.01.
__________________
DebiaN900 - Native Debian on the N900. Deprecated in favour of Maemo Leste.

Maemo Leste for N950 and N9 (currently broken).
Devuan for N950 and N9.

Mobile devices with mainline Linux support - Help needed with documentation.

"Those who do not understand Unix are condemned to reinvent it, poorly." - Henry Spencer

Last edited by wicket; 2015-08-02 at 21:29.
 

The Following 4 Users Say Thank You to wicket For This Useful Post:
Reply

Tags
debian, debian900, devuan, maemo 7

Thread Tools

 
Forum Jump


All times are GMT. The time now is 06:20.