On Mon, 2010-08-16 at 11:50 +0800, Xin Zhen wrote:
在 2010-08-15日的 16:01 +0100,Sergio Monteiro Basto写道:
>
> > Find and build a suitable kernel for your player from
linux-mips.org,
> > not from Fedora-MIPS. And, the user space packages are compiled against
> > mips3 and abi=n32. I don't know if they can be run on 4KEc. Maybe you
> > can have a try ;)
>
> but kernel-vanilla-2.6.35-85.fc13.src.rpm , can't be compile to mipsel
> arch ?
> What I need ?
> With buildroot , I can build many apps (on fedora13) that work in the
> box, but boot a new kernel, I still have some doubts.
Booting a SoC is not a kernel-only job. It involves bootloader, the arch
and board-specific codes and drivers. People usually start their hack
from the vendor's code, the bootloader and the kernel with a lot of
modifications, if the source is released. I won't suggest you start from
vanilla or fedora kernel.
After , look at
linux-mips.org, seems that we don't have RTD128x option
neither realtek .
Looking for a big patch between linux-2.6.12 and linux-2.6.12-VENUS ,
They do a specif configuration for REALTEK_VENUS:
--- tmp/linux-2.6.12/arch/mips/Kconfig
+++ GPL/linux-2.6.12/arch/mips/Kconfig
(...)
+config REALTEK_VENUS
+ bool "Support for REALTEK Venus board"
+# select BOOT_ELF32
+ select IRQ_CPU# define this will include irq_cpu.o, and this is
for the interrupt.
+ select REALTEK_VENUS_SERIAL_PORT
+ select DMA_NONCOHERENT
+ select GENERIC_ISA_DMA
+ select HW_HAS_PCI
+ select REALTEK_BOARDS_GEN
+ select SYS_SUPPORTS_32BIT_KERNEL
+ select SYS_SUPPORTS_LITTLE_ENDIAN
+ help
+ This enables support for the REALTEK Technologies Venus board.
and a new directory :
+source "arch/mips/realtek-boards/Kconfig"
I saw the code, they change files like linux-2.6.12/init/main.c, and
many in "core" code, which I'm not capable to port to a new kernel.
Conclusion I can't build a new kernel for this devices.
but I learn a lot, Thanks for your help.
--
Sérgio M. B.