Thank you Jaan for helping and inspiring me to try new kernel!
I am using kernel 2.6.35 now, I am not using on board NAND now. In fact I
don't even use on board SD card after linux bootup, as I mount NFS in my server
as root file system.
That's right, I use the similar change from TS72XX.
This is how I add three lines (starting #ifdef) to head.S:
beq __error_p @ yes, error 'p'
#ifdef CONFIG_MACH_TS78XX
ldr r1, =0x00000674 @ TS-7800 = 0x674
#endif
bl __lookup_machine_type @ r5=machinfo
I boot to full linux kerenl directly (no busybox) from SD card, mount NFS as
root file system.
This is my boot NFS as root file system CMDLINE in .config file, set it using
"make gconfig" :
root=/dev/nfs rw init=/sbin/init
nfsroot=192.168.0.151:/home/karl/NFS_SHARED/rootfs_ts7800,nolock ip=dhcp
console=ttyS0,115200n8
Karl
--- In Petr ©tetiar <> wrote:
>
> Jaan <> [2010-08-25 12:29:46]:
>
> > Instead of step 8 there is the possibility to change the head.S file in
> > arch/arm/kernel. I don't know exactly how.
>
> I think, that this is some machine ID hacks. You can take a look how it's
> done[1] for example for ts72xx.
>
> 1.
> http://ynezz.ibawizard.net/ts72xx/linux-kernel/2.6.33/0002-ts72xx_force_machine-id.patch
>
> -- ynezz
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|