tjmarch Posted February 13, 2016 Posted February 13, 2016 I have a BPI-M2 and I am trying to patch kernel 4.4.1 with contents of archive patches-4.4.1-rt6.tar.gz for RT-Preempt while making Debian Wheezy xfce desktop image. I have tried putting patches in /userpatches/kernel/sunxi-dev and /userpatches/kernel/sunxi-dev/linux-vanilla/v4.4.1 nether worked. Made image but patches were not applied Any help would be appreciated Tim
zador.blood.stained Posted February 13, 2016 Posted February 13, 2016 Kernel 4.4.1 is "next" branch, not "dev". Patching process displays what directory is used for user patches: [ o.k. ] Started patching process for [ kernel sunxi-next 4.4.1 ] [ o.k. ] Looking for user patches in [ userpatches/kernel/sunxi-next ] I would suggest using single file patch ("patch-4.4.1-rt6.patch" extracted from "patch-4.4.1-rt6.patch.gz") instead of "patches-4.4.1-rt6.tar.gz" which contains multiple small patches.
tjmarch Posted February 13, 2016 Author Posted February 13, 2016 Thank you for the quick reply I noticed in the last day armbian updated and process is different but this is what I just done and it failed #Reinstalled Ubuntu 14.04 LTS x64 server in Virtualbox and booted upsudo su -#Install armbian building scriptapt-get -y -qq install gitgit clone --depth 1 https://github.com/igorpecovnik/libcp lib/compile.sh .#Run building script first time to set-up, (source, directorys ect.)./compile.sh#Wheezy#XFCE desktop#Latest stable @kernel.org#Failed first run during install armbian on top debian wheezy base system while installing package x-11-server-utils, directorys were set up though#Setup patchcd ~/userpatches/kernel/sunxi-nextwget https://www.kernel.org/pub/linux/kernel/projects/rt/4.4/patch-4.4.1-rt6.patch.gzgunzip *.gzcd ~#Run armbian tool again./compile.sh KERNEL_ONLY=no KERNEL_CONFIGURE=yes CLEAN_LEVEL=make,debs,images#menuconfig did not start I do not know if patch was applied screen scroll was to fast#Failed again on second run during install armbian on top debian wheezy base system while installing package x-11-server-utils Am I doing something wrong
zador.blood.stained Posted February 13, 2016 Posted February 13, 2016 Am I doing something wrong Don't know, but rather than enable full logging and trying to build image from scratch you can build only kernel and install it on top of one of prebuilt images. BTW, I think Wheezy desktop is not fully supported (as in, not tested if it works or not, only Jessie and Trusty desktop builds are present in "build all" configuration)
tjmarch Posted February 13, 2016 Author Posted February 13, 2016 FYI before build script updated this worked with wheezy I still have a sdcard running at this moment but without RT-Preempt
Igor Posted February 13, 2016 Posted February 13, 2016 Wheezy desktop should work but it's true that I haven't build it for some time ... will be checked.
zador.blood.stained Posted February 13, 2016 Posted February 13, 2016 @tjmarch Then please add PROGRESS_LOG_TO_FILE=yes to your compile.sh and find exact error messages in debootstrap.log and install.log Edit: Forgot that debootstrap.log is created only in new debootstrap, so please also add EXPERIMENTAL_DEBOOTSTRAP=yes
tjmarch Posted February 13, 2016 Author Posted February 13, 2016 #Run armbian tool again#Changes to compile.sh# KERNEL_ONLY="no" KERNEL_CONFIGURE="yes" CLEAN_LEVEL="make,debs,images" PROGRESS_LOG_TO_FILE="yes" EXPERIMENTAL_DEBOOTSTRAP="yes" # I was using the first 3 choices on command line in terminal before with no changes to compile.sh./compile.sh#This time prompt came up with choices for RT PREEMPT then menuconfig also opened It is runniing hopefuly it finishes without failure
tjmarch Posted February 13, 2016 Author Posted February 13, 2016 Finished successfuly final file Armbian_5.00_Bananapim2_Debian_wheezy_4.4.1-rt6_desktop.zip Wrote raw to sdcard hung for a bit then I had bananapim2 login: I logged in Thank you for choosing Armbian Support: www.armbian.com root@bananapim2:~# typed startx result -bash: startx: command not found typed uname -a result Linux bananapim2_4.4.1-rt6-suxi #4 SMP PREEMPT RT Sat Feb 13 12:55:50 EST 2016 arm71 GNU/Linux Will I have to apt-get install xfce4 xfce4-goodies or is something else missing that will take less time By the way THANKS A BUNCH
Recommended Posts