ts-7000
[Top] [All Lists]

Re: [ts-7000] buildroot 2.6 kernel for TS-7400

To:
Subject: Re: [ts-7000] buildroot 2.6 kernel for TS-7400
From: Daniel Smolik <>
Date: Thu, 26 Mar 2009 00:19:45 +0100
Daniel Smolik napsal(a):
>
>
> tmcnulty1982 napsal(a):
>  >
>  >
>  > Hi,
>  >
>  > Is it possible to build a TS-7400-compatible kernel with buildroot?
>  >
>  > If so, where can I find the appropriate patches and .config? I found
>  > this page but I don't see any actual sources (maybe I'm blind):
>  >
>  > http://www.embeddedarm.com/software/arm-linux-26-ts72xx.php
> <http://www.embeddedarm.com/software/arm-linux-26-ts72xx.php>
>  > <http://www.embeddedarm.com/software/arm-linux-26-ts72xx.php
> <http://www.embeddedarm.com/software/arm-linux-26-ts72xx.php>>
>  >
>  > I just built a little file system with buildroot that works great except
>  > for the fact that certain syscalls (like socket()) are broken because
>  > buildroot is not using the headers for the 2.4 kernel that i am running.
>  >
>  > Currently I have just chrooted into the buildroot environment but I
>  > believe (and correct me if I'm wrong) that the next step from here is to
>  > build a compatible 2.6 kernel and load that with the bootload executable
>  > from the TS-7400 initrd.
>  >
>
> Hi,
> yes it is possible. I now working on it. I use 2.6.28.3 and matt
> patchset (search in the list).
> It works except NAND flash (I work on it now to get it work) and need
> simple tweak to disable watchdog early after power on.
>
> Dan
>
I have today small sucess. I first boot 7400 with 2.6.28 kernel and NAND flash 
detected:



 >> TS-SDBOOT - built Jan 26 2007
 >> Copyright (c) 2007, Technologic Systems
.
.
Uncompressing 
Linux..................................................................................
 done, booting the
kernel.
Linux version 2.6.28.3  (gcc version 4.3.3 (GCC) ) #34 Thu Mar 26 
00:00:44 CET 2009
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: Technologic Systems TS-72xx SBC
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8016
Kernel command line: console=ttyAM0,115200 ip=dhcp root=/dev/nfs devfs=nomount
PID hash table entries: 128 (order: 7, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 8MB 8MB 8MB 8MB = 32MB total
Memory: 29680KB available (2316K code, 292K data, 84K init)
Calibrating delay loop... 99.73 BogoMIPS (lpj=498688)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
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
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (extended precision)
audit: initializing netlink socket (disabled)
type=2000 audit(3.709:1): initialized
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 57
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler cfq registered (default)
Serial: AMBA driver
apb:uart1: ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
console [ttyAM0] enabled
apb:uart2: ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
apb:uart3: ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
amba-pl010.c: auto RS485 mode initialized
Serial: AMBA PL011 UART driver
ep93xx-eth version 0.11 loading
ep93xx_mii_bus: probed
Generic PHY 0:01: PHY supports MII frame preamble suppression
net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1)
net eth0: ep93xx on-chip ethernet, IRQ 39, 00:d0:69:40:28:05
physmap platform flash device: 00ffffff at 06000000
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Searching for NAND flash...
NAND device: Manufacturer ID: 0xec, Chip ID: 0x75 (Samsung NAND 32MiB 3,3V 
8-bit)
Scanning device for bad blocks
Hardware ECC detected
Using MBR partition definition
Creating 4 MTD partitions on "NAND 32MiB 3,3V 8-bit":
0x00000000-0x02000000 : "whole chip"
0x00004000-0x00204000 : "kernel"
0x00204000-0x00314000 : "initrd"
0x00314000-0x02000000 : "rootfs"
usbcore: registered new interface driver libusual
ts72xx_wdt: TS-72xx watchdog driver, v0.2
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 192.168.3.13, my address is 192.168.3.83
IP-Config: Complete:
      device=eth0, addr=192.168.3.83, mask=255.255.255.0, gw=192.168.3.1,
      host=ts7400, domain=mydatex.cz, nis-domain=(none),
      bootserver=192.168.3.13, rootserver=192.168.3.13, 
rootpath=/usr/local/tftpboot/arm_gphoto2
Looking up port of RPC 100003/2 on 192.168.3.13
Looking up port of RPC 100005/1 on 192.168.3.13
VFS: Mounted root (nfs filesystem).
Freeing init memory: 84K


Regards
                Dan






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

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>
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