View Single Post
Posts: 20 | Thanked: 2 times | Joined on Oct 2014
#1
Hello sailors,
I complete the process in GitHub.
https://github.com/nemomobile/kernel-adaptation-n950-n9
I'm compiling to kernel with sb2 arm compliler.

I get stuck at some point.

https://wiki.merproject.org/wiki/N9_...update_project

"Build instructions from git" I proceed from the point.

user@SDK:~$ sudo su
[sudo] password for user:
root@SDK:/home/user# /srv/mer/
sdks/ targets/
root@SDK:/home/user# /srv/mer/
sdks/ targets/
root@SDK:/home/user# /srv/mer/sdks/sdk/mer-sdk-chroot
Mounting system directories...
Mounting / as /parentroot
Mounting home directory: /home/user
Entering chroot as user
sailor@SDK:~$ su
Password:
[root@SDK user]# /srv/mer/targets/n950rootfs/
bash: /srv/mer/targets/n950rootfs/: is a directory
[root@SDK user]# cd /srv/mer/targets/n950rootfs/
[root@SDK n950rootfs]# sb2-init -L "--sysroot=/" -C "--sysroot=/" -c /usr/bin/qemu-arm-dynamic -m sdk-build -n -N -t / nemo-n950 /opt/cross/bin/armv7hl-meego-linux-gnueabi-gcc
Using /opt/cross/bin/armv7hl-meego-linux-gnueabi-gcc to detect target architecture:
collect2: cannot find 'ld'
Finished writing sb2.gcc.config
gcc configured.
sb2-init: Target architecture is 'armv7hl'
sb2-init: Host architecture is 'i[3456]86'
Finished writing sb2.config
sb2-init: Creating Debian build system settings for this target:
[root@SDK n950rootfs]# cd usr/src/
debug/ kernel-adaptation-n950-n9-nemo-n9-3.5.3.20130912.1/
kernel-adaptation-n950-n9-master/ kernels/
[root@SDK n950rootfs]# cd usr/src/
debug/ kernel-adaptation-n950-n9-nemo-n9-3.5.3.20130912.1/
kernel-adaptation-n950-n9-master/ kernels/
[root@SDK n950rootfs]# cd usr/src/kernel-adaptation-n950-n9-nemo-n9-3.5.3.20130912.1/
[root@SDK kernel-adaptation-n950-n9-nemo-n9-3.5.3.20130912.1]# sb2 make n9_mer_defconfig
sb2: Error: Invalid target specified, aborting.
[root@SDK kernel-adaptation-n950-n9-nemo-n9-3.5.3.20130912.1]# sb2 make -j4 zImage
sb2: Error: Invalid target specified, aborting.
[root@SDK kernel-adaptation-n950-n9-nemo-n9-3.5.3.20130912.1]# sb2 make -j4 modules
sb2: Error: Invalid target specified, aborting.
[root@SDK kernel-adaptation-n950-n9-nemo-n9-3.5.3.20130912.1]# sb2 make modules_install INSTALL_MOD_PATH=./mods
sb2: Error: Invalid target specified, aborting.
[root@SDK kernel-adaptation-n950-n9-nemo-n9-3.5.3.20130912.1]#
 

The Following User Says Thank You to mfiskindal For This Useful Post: