Enable core dumping in Xbian kernel
|
10th Feb, 2015, 12:42 AM
Post: #3
|
|||
|
|||
RE: Enable core dumping in Xbian kernel
Over the weekend I've tried to recompile the xbian-package-kernel per https://github.com/xbianonpi/xbian/wiki/Building-XBian-packages instructions to verify what I really needed was correct, but to be honest, I had a really hard time.
From the wiki instructions I did a Code: /usr/local/src/xbian/xbian-package-kernel# $xbiangit --arch rpi --action build That gave following error: Code: ... After some digging I just did a Code: cp ./build/rpi/working/.boards/script.bin ./build/content-tpl and commented out the cp line in the script. Relaunched the build and it got a bit further. When it tried to compile U-BOOT following errors popped up: Code: /bin/sh: arm-linux-gnueabi-gcc: command not found And indeed I didn't have the arm-linux-gnueabi-gcc installed, I've installed the arm-linux-gnueabihf- toolchain from https://github.com/raspberrypi/tools (I couldn't find the arm-linux-gnueabi- toolchain?) and updated "build/rpi/config" to use the hf toolchain. I got finally some stuff compiling but again the pre-hook script failed. Code: OBJCOPY u-boot.srec I decided to just compile the kernel straight away (apart from the Xbian tools) so did a Code: cd /usr/local/src/xbian/xbian-package-kernel/build/rpi/working and finally, i got a complete kernel compiled. Then, due to Xbian patching the kernel to use LZ4 compression, i wasn't able to copy my new kernel to my sd card I'm quite sure I need following three setting in the .config Code: CONFIG_ELF_CORE=y but as you can read I can't test them out. If anyone has a good guide on how to recompile the xbian-kernel-package i'm happy to test it out. Thanks; Geert Ok, got it running now. On my build system /bin/sh was symlinked to /bin/bash instead of /bin/dash. Not sure if or how it got changed, but after symlinking it to /bin/dash it started compiling the kernel (running now). So maybe include on the wiki which/where to get the correct toolchain. Because I'm still compiling with the arm-linux-gnueabihf now (and the updated build/rpi/config) from github.com/raspberrypi/tools. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Enable core dumping in Xbian kernel - glorang - 8th Feb, 2015, 02:45 AM
RE: Enable core dumping in Xbian kernel - CurlyMo - 8th Feb, 2015, 04:11 AM
RE: Enable core dumping in Xbian kernel - glorang - 10th Feb, 2015 12:42 AM
|