Hi --
--- In wrote:
>
>
> Ooops, hit send on that last email way too early. Resending...
>
> Strongly encouraged by seeing Martin Guy's recent post on working crunch
> support in gcc 4.3 ( http://martinwguy.co.uk/martin/crunch/ )
>
> And some very clean, simple patches for my ts7250...
>
> http://martinwguy.co.uk/martin/ts7250/KERNEL
Martin has done an incredible amount of work to get crunch support working
around all the corner cases! But as far as up-to-date patches for mainline,
take a look at:
http://mcrapet.free.fr/
Mathieu has done a great job keeping them sorted, logical, and porting to new
kernels.
>
> I pulled my old TS-7250 out of storage and attempted to make it work,
> first pulling down the emdebian tools and environment...
>
> I happened to have the 2.6.31 git tree around, so I applied two of the
> patches to correct for my very old redboot on this machine.
>
> patch-force-machine-id-2.6.25.patch
> # Fixed erroneous machine ID supplied by TS RedBoot
> arm920-force-fclk.patch
> # Workaround TS7250 RedBoot bug that makes the CPU run at half speed
>
> The third patch, ep93xx-serial-uartbaud.diff
> # Stop it erroneously halving the serial ports' baud rate at boot.
>
> for fixing the serial clock, appeared unnecessary (and seems to be the
> case, as I get a correct boot log)
>
> The fourth patch, involving the discontiguous memory support, was too
> scary to apply at present and not required to just try out 2.6.31.
For this, the right way is to enable sparsemem support after applying (at
least) the base patch of Mathieu's patchset above. That is the direction all
of the ARM platforms are going. I don't think it's in vanilla yet for ep93xx
(it wasn't in 2.6.29 at least), but check before applying the patch anyway.
>
> patch-discontigmem-ep93xx-linux-2.6.25.patch
> # Allow the disjoint and very distant memory banks of the TS7250
> # (8 x 8MB at 0x0[0145]00000 and 0xe[0145]000000)
>
> My current progress is documented here: http://projects.teklibre.com/ts7250/
>
> Updated versions of these patches against 2.6.31's git tree are also
> there, or will be once I have some confidence this is going to actually work.
>
> The kernel config file there is based on with the addition of more complete
> iptables, ipv6, and usb device support, the slob, rather than slab
> allocator, and the subtraction of the unsupported clock drivers.
>
> This is very much WIP. It looks like I have 3 problems remaining on the
> kernel side of the universe, before I can get into userspace issues.
>
> 1) Getting it to recognise 64MB ram (applying 4th patch above will probably
> fix this)
Select sparsemem, after 0003-ep93xx_base.patch
>
> 2) Correctly identifying the flash. My assumption is that the flash
> partition is actually on 0 not not the last block. Is there a known
> working 2.6.25 .config for this board out there to start from (googling
> deeper and recompiling now)
Apply 0023-ts7250_nand.patch. Mathieu also has a bunch of different configs to
choose from.
>
> 3) It would be nice if I knew how to get it to recognise the usb stick in
> it without having to having to do a switch_root or whatever the
> equivalent is nowadays. That way I could (hopefully) just boot right
> into debian...
Don't think the TS boards will boot from USB directly.
> Creating 3 MTD partitions on "ts7250-nand":
> 0x000000000000-0x000000004000 : "TS-BOOTROM"
> 0x000000004000-0x000007d04000 : "Linux"
> 0x000007d04000-0x000008000000 : "RedBoot"
Yep, you need the patch above for 2k blocks.
> usb 1-3: new full speed USB device using ep93xx-ohci and address 2
> usb 1-3: no configurations
> usb 1-3: can't read configurations, error -22
> usb 1-3: new full speed USB device using ep93xx-ohci and address 3
> usb 1-3: no configurations
> usb 1-3: can't read configurations, error -22
> usb 1-3: new full speed USB device using ep93xx-ohci and address 4
> usb 1-3: no configurations
> usb 1-3: can't read configurations, error -22
> usb 1-3: new full speed USB device using ep93xx-ohci and address 5
> usb 1-3: no configurations
> usb 1-3: can't read configurations, error -22
> hub 1-0:1.0: unable to enumerate USB device on port 3
Don't know about these.
regards .......... Charlie
------------------------------------
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/
|