Re: Big Endian au1550

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

 



Yeah! 
Got it working withgcc 3.4.1. Trying again with latest linux-mips and 
it runs as far as borking that it can't find rootfs unknown block,
but I assume that has to do with initramfs.  

---------
VFS: Cannot open root device "<NULL>" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)
---------

Do I need to disable ramdisk support for this?


I think there were config options enabled that were causing the crash,
pared it down to just the network and ethernet and serial console and it
works, just had to patch this to get the compile working 

Index: mips/Kconfig
===================================================================
RCS file: /home/cvs/linux/arch/mips/Kconfig,v
retrieving revision 1.142
diff -r1.142 Kconfig
88a89
>       select SYS_SUPPORTS_BIG_ENDIAN
Index: mips/kernel/process.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/kernel/process.c,v
retrieving revision 1.75
diff -r1.75 process.c
169,172c169,172
<       gp[EF_CP0_EPC] = regs->cp0_epc;
<       gp[EF_CP0_BADVADDR] = regs->cp0_badvaddr;
<       gp[EF_CP0_STATUS] = regs->cp0_status;
<       gp[EF_CP0_CAUSE] = regs->cp0_cause;
---
> //    gp[EF_CP0_EPC] = regs->cp0_epc;
> //    gp[EF_CP0_BADVADDR] = regs->cp0_badvaddr;
> //    gp[EF_CP0_STATUS] = regs->cp0_status;
> //    gp[EF_CP0_CAUSE] = regs->cp0_cause;

These must be compiler defined or something.

Thanks everyone. The compiler was built from uclibc buildroot and set
for mips1


-- 
jp.foster@xxxxxxxxxxxxxx
Digital Simplicity



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux