[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Illegal instrunction while running debootstrap



Indeed it doesn't have CONFIG_MIPS_FPU_EMULATOR enabled in
kernel config.

Thanks!

On Wed, Apr 25, 2018 at 10:51:18PM +0100, James Cowgill wrote:
> Hi,
> 
> On 25/04/18 22:28, Michael Krylov wrote:
> > Hello,
> > 
> > I was trying to debootstrap Debian stretch on a MIPS machine, and 
> > apparently it fails with "Illegal instruction" error.
> > 
> > Would you please tell me what is missing in my proceessor? It's a
> > Mediatek MT7628ANN SoC, here goes cat /proc/cpuinfo output:
> > 
> > root@OpenWrt:/mnt/sda2# cat /proc/cpuinfo 
> > system type		: MediaTek MT7628AN ver:1 eco:2
> > machine			: TP-Link TL-MR3420 v5
> > processor		: 0
> > cpu model		: MIPS 24KEc V5.5
> 
> Does your kernel have FPU emulation enabled? 24KEc does not have an FPU
> so the kernel will need to emulate it. Usually the stock OpenWRT kernels
> are compiled without it and will not run Debian.
> 
> > I was trying both mips and mipsel release, but it seems like mipsel is
> > the correct one (at least ELF architecture ID is the same).  Is it
> > possible to run any Debian release on this machine?
> 
> mipsel should work for you.
> 
> James

Attachment: signature.asc
Description: PGP signature


Reply to: