ts-7000
[Top] [All Lists]

[ts-7000] Howto use bootload sdcard 2.6 kernel 7400

To:
Subject: [ts-7000] Howto use bootload sdcard 2.6 kernel 7400
From: "Samuel M. Smith" <>
Date: Fri, 3 Apr 2009 16:22:08 -0600
I have a 7400 and I also have a 2.6 etch distribution image "7400-2.6- 
sd512.dd"
That has:
  2.6 kernel on part1
  2.6 initrd on part2
  2.6 debian root on part3

I have successfully imaged this onto 1 GB sdcard and after setting the  
bootrom to boot to sdcard
$ ./tsbootrom-update -s
I can get my 7400 to boot successfully into etch 2.6

However this only works for regular sd cards not sdhc cards.

Supposedly I should be able to do this to work with an sdhc card by  
first booting into fastboot
use the sdcard-sdhc.o to access the sdhc card and then use bootload to  
boot up the sdhc card.

I have never successfully used bootload before and am not very  
familiar with how it works.
The docs on technologic website assume a detailed knowledge of the  
appropriate kernel command args
which I can only guess at.

I tried with no success for either sd or sdhc card. The sd card is  
same that works using bootrom.
So my problem is using bootload in and of itself.

Could somebody help me with the correct configuration of bootload?

Sam

Here's what I tried....

After booting into fastboot shell (sdcard.o sym link to sdcard-sdhc.o)
$ insmod  /sdcard.o dmaenable=1
using sccard.o
$ insmod /mnt/root/lib/modules/2.4.26-ts11/kernel/lib/bootloader.o
Using /mnt/root/lib/modules/2.4.26-ts11/kernel/lib/bootloader.o

$ bootload  -c "console=ttyAM0,115200 root=/dev/ram0" -r /dev/sdcard0/ 
disc0/part2  /dev/sdcard0/disc0/part1

Uncompressing  
Linux 
.......................................................................... done 
, booting the kernel.
Linux version 2.6.21-ts  (gcc version 3.4.4 (release)  
(CodeSourcery ARM 2005q3-2)) #19 PREEMPT Mon Jul 21 16:44:49 MST 2008
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: Technologic Systems TS-72xx SBC
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 8 zonelists.  Total pages: 16256
Kernel command line: console=ttyAM0,115200 root=/dev/ram0
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB = 64MB total
Memory: 57964KB available (2028K code, 202K data, 100K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
ep93xx: PLL1 running at 400 MHz, PLL2 at 192 MHz
ep93xx: FCLK 200 MHz, HCLK 100 MHz, PCLK 50 MHz
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
Freeing initrd memory: 4608K
NetWinder Floating Point Emulator V0.97 (double precision)
JFS: nTxBlock = 488, nTxLock = 3910
io scheduler noop registered
io scheduler deadline registered (default)
ts72xx_wdt: TS-72xx watchdog driver, v0.2
Serial: AMBA driver $Revision: 1.1.1.1 $
apb:uart1: ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
apb:uart2: ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
apb:uart3: ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
RAMDISK driver initialized: 1 RAM disks of 4096K size 1024 blocksize
ep93xx-eth version 0.1 loading
eth0: ep93xx on-chip ethernet, IRQ 39, 00:d0:69:40:55:d7.
rtc-m48t86 rtc-m48t86: rtc core: registered m48t86 as rtc0
rtc-m48t86 rtc-m48t86: battery ok
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
rtc-m48t86 rtc-m48t86: setting the system clock to 2009-04-04 16:45:54  
(1238863554)
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 4096KiB [1 disk] into ram disk... done.
EXT2-fs warning: checktime reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 100K
/ #
/# insmod tssdcard.ko dmaenable=0
tssdcard: Technologic Systems SD card controller, address 0x600ff000
tssdcard: no card found.


/ # exit
Kernel panic - not syncing: Attempted to kill init!








------------------------------------

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/

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] Howto use bootload sdcard 2.6 kernel 7400, Samuel M. Smith <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU