Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 18 Dec 2014 13:11:52 +0100
From: John Spencer <maillist-musl@...fooze.de>
To:  sabotage@...ts.openwall.com
Subject: Re: raspberry PI kernel compile

will cunningham wrote:
> I'm trying to build Sabotage on a Raspberry PI version B inside Raspbian.
> 
> It's failing at compiling the kernel with the log reading,
> 
> "error: need to set ARM_ARCH to 4-7"
> 
> and the next line,
> 
> "cat: can't open '/src/KEEP/linux.config /src/KEEP/linux.config.armvl' : No
> such file or directory"
> 
> There is a linux.config.armv6l file in /src/KEEP so it seems I need to set
> ARM_ARCH=6 somewhere?

since ARM platforms usually need a ton of device-specific tweaks and 
patches, it is currently not possible to use the vanilla sabotage kernel 
for any arch but i386 and x86_64.
please follow your device vendor's kernel compilation guide to compile a 
  kernel specifically targetting your hw platform, or use an existing 
compiled kernel.
(you can use musl-cross cross compilers to do so, or via chrooting into 
a sabotage rootfs natively on the device)

example: https://github.com/sabotage-linux/sabotage/wiki/efika_mx

the linux.config.armv6l is outdated and not tested on anything else than 
qemu.

--JS

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ