tUpdate n900 to use maemo-leste kernel and switch back to armhf. - arm-sdk - os build toolkit for various embedded devices (HTM) git clone https://git.parazyd.org/arm-sdk (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules (DIR) README (DIR) LICENSE --- (DIR) commit 6bcace2fe9a0d09971027e973c10eb85f1e42300 (DIR) parent bb7ea00d1fb982a85f0bbb378ab5a333b6df3593 (HTM) Author: parazyd <parazyd@dyne.org> Date: Fri, 26 Jan 2018 11:38:54 +0100 Update n900 to use maemo-leste kernel and switch back to armhf. Diffstat: M boards/nokia-n900.sh | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) --- (DIR) diff --git a/boards/nokia-n900.sh b/boards/nokia-n900.sh t@@ -25,8 +25,8 @@ vars+=(gitkernel gitbranch) arrs+=(custmodules) device_name="n900" -arch="armel" -size=791 +arch="armhf" +size=1337 #inittab="" parted_type="dos" t@@ -37,8 +37,8 @@ bootfs="vfat" extra_packages+=(firmware-ti-connectivity) custmodules=() -gitkernel="https://github.com/pali/linux-n900/" -gitbranch="v4.9-n900" +gitkernel="https://github.com/maemo-leste/n9xx-linux/" +gitbranch="pvr-wip" prebuild() { t@@ -77,7 +77,12 @@ build_kernel_armel() { get-kernel-sources pushd $R/tmp/kernels/$device_name/${device_name}-linux - copy-kernel-config + #copy-kernel-config + make \ + $MAKEOPTS \ + ARCH=arm \ + CROSS_COMPILE=$compiler \ + rx51_defconfig || zerr # compile kernel and modules make \ t@@ -98,13 +103,13 @@ build_kernel_armel() { modules_install || zerr # install kernel firmware - sudo -E PATH="$PATH" \ - make \ - $MAKEOPTS \ - ARCH=arm \ - CROSS_COMPILE=$compiler \ - INSTALL_MOD_PATH=$strapdir \ - firmware_install || zerr + #sudo -E PATH="$PATH" \ + # make \ + # $MAKEOPTS \ + # ARCH=arm \ + # CROSS_COMPILE=$compiler \ + # INSTALL_MOD_PATH=$strapdir \ + # firmware_install || zerr mkimage -A arm -O linux -T kernel -C none -a 80008000 -e 80008000 -n zImage -d zImage uImage sudo cp -v uImage $strapdir/boot/