Up-to-date kernel

Post Reply
buserror
Posts: 92
Joined: Thu Jan 22, 2009 12:28 am

Up-to-date kernel

Post by buserror » Mon Jan 26, 2009 4:17 pm

Anyone made a git tree with the MINI2440 drivers ported to something recent ?

buserror
Posts: 92
Joined: Thu Jan 22, 2009 12:28 am

Re: Up-to-date kernel

Post by buserror » Sun Feb 01, 2009 2:35 pm

I now got 2.6.29 (the top of linus git tree) booting the mini2440. Still have to adapt a few of the drivers but it's looking good!

buserror
Posts: 92
Joined: Thu Jan 22, 2009 12:28 am

Re: Up-to-date kernel

Post by buserror » Mon Feb 02, 2009 12:41 am

I have the LCD working too.

Now my problem is kick starting my openwrt distro; somehow it thinks it's on a phone for the moment :D

Here is a boot log. Including using tftp to flash a new kernel, and boot from it! Right now the kernel doesn't reset the PLL to 405Mhz by default, but I can do it manualy with the 's3c2xx' u-boot command.

Code: Select all

U-Boot 1.3.2-dirty-moko12 (Feb  1 2009 - 23:47:01)

I2C:   ready
DRAM:  64 MB
Flash:  2 MB
NAND:  64 MiB
Found Environment offset in OOB..
USB:   S3C2410 USB Deviced
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
MINI2440 # tftp 0x32000000 uImage
dm9000 i/o: 0x20000300, id: 0x90000a46
MAC: 08:08:11:18:12:27
could not establish link
TFTP from server 10.0.0.4; our IP address is 10.0.0.111
Filename 'uImage'.
Load address: 0x32000000
Loading: #################################################################
         #################################################################
         #############
done
Bytes transferred = 2095052 (1ff7cc hex)
MINI2440 # mtdparts

device nand0 <mini2440-nand>, # parts = 4
 #: name                        size            offset          mask_flags
 0: u-boot              0x00040000      0x00000000      0
 1: env                 0x00020000      0x00040000      0
 2: kernel              0x00500000      0x00060000      0
 3: root                0x03aa0000      0x00560000      0

active partition: nand0,0 - (u-boot) 0x00040000 @ 0x00000000

defaults:
mtdids  : nand0=mini2440-nand
mtdparts: <NULL>
MINI2440 # nand erase 0x00060000 1ff800

NAND erase: device 0 offset 0x60000, size 0x1ff800
Erasing at 0x25c000 -- 100% complete.
OK
MINI2440 # nand write 0x32000000 0x00060000 0x1ff800

NAND write: device 0 offset 0x60000, size 0x1ff800
 2095104 bytes written: OK

MINI2440 # help
?       - alias for 'help'
autoscr - run script from memory
base    - print or set address offset
bdinfo  - print Board Info structure
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm   - boot application image from memory
bootp   - boot image via network using BootP/TFTP protocol
bootvx  - Boot vxWorks from an ELF image
chpart  - change active partition
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
date    - get/set/reset date & time
dcache  - enable or disable data cache
dhcp    - invoke DHCP client to obtain IP/boot params
dynenv  - dynamically placed (NAND) environment
dynpart - dynamically calculate partition table based on BBT
echo    - echo args to console
erase   - erase FLASH memory
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
flinfo  - print FLASH memory information
fsinfo  - print information about filesystems
fsload  - load binary file from a filesystem image
go      - start application at address 'addr'
help    - print online help
icache  - enable or disable instruction cache
icrc32  - checksum calculation
iloop   - infinite loop on address range
imd     - i2c memory display
iminfo  - print header information for application image
imls    - list all images found in flash
imm     - i2c memory modify (auto-incrementing)
imw     - memory write (fill)
imxtract- extract a part of a multi-image
in      - read data from an IO port
inm     - memory modify (constant address)
iprobe  - probe to discover valid I2C chip addresses
itest   - return true/false on integer compare
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
ls      - list files in a directory (default /)
md      - memory display
mm      - memory modify (auto-incrementing)
mmcinit - init mmc card
mtdparts- define flash/nand partitions
mtest   - simple RAM test
mw      - memory write (fill)
nand    - NAND sub-system
nboot   - boot from NAND device
nfs     - boot image via network using NFS protocol
nm      - memory modify (constant address)
out     - write datum to IO port
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reginfo - print register information
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
s3c24xx - SoC  specific commands
saveenv - save environment variables to persistent storage
saves   - save S-Record file over serial line
setenv  - set environment variables
sleep   - delay execution for some time
tftpboot- boot image via network using TFTP protocol
usb     - USB sub-system
version - print monitor version

MINI2440 # nboot kernel

Loading from NAND 64MiB 3,3V 8-bit, offset 0x60000
   Image Name:
   Created:      2009-02-02   8:28:32 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2094988 Bytes =  2 MB
   Load Address: 30008000
   Entry Point:  30008000
MINI2440 # bootm
## Booting kernel from Legacy Image at 32000000 ...
   Image Name:
   Created:      2009-02-02   8:28:32 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2094988 Bytes =  2 MB
   Load Address: 30008000
   Entry Point:  30008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux.................................................................................................................................... done, booting the kernel.
Initializing cgroup subsys cpu
Linux version 2.6.29-rc2-michel (michel@yap) (gcc version 4.1.2) #13 PREEMPT Mon Feb 2 08:28:12 GMT 2009
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: MINI2440
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C244X: core 283.200 MHz, memory 94.400 MHz, peripheral 47.200 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: noinitrd root=/dev/nfs rw nfsroot=10.0.0.4:/opt/build/openwrt/root ip=dhcp console=ttySAC0,115200
irq: clearing pending status 02000000
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
allocated 327680 bytes of page_cgroup
please try cgroup_disable=memory option if you don't want
Memory: 64MB = 64MB total
Memory: 60048KB available (3824K code, 537K data, 144K init)
SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 141.31 BogoMIPS (lpj=353280)
Mount-cache hash table entries: 512
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
CPU: Testing write buffer coherency: ok
net_namespace: 300 bytes
NET: Registered protocol family 16
s3c24xx-adc s3c24xx-adc: attached adc driver
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
S3C244X: Clock Support, DVS off
bio: create slab <bio-0> at 0
SCSI subsystem initialized
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
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (extended precision)
audit: initializing netlink socket (disabled)
type=2000 audit(0.515:1): initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 117
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Console: switching to colour frame buffer device 30x40
fb0: s3c2410fb frame buffer device
Non-volatile memory driver v1.3
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
brd: module loaded
loop: module loaded
nbd: registered device at major 43
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
dm9000 Ethernet Driver, V1.31
eth0 (dm9000): not using net_device_ops yet
eth0: dm9000e at c486a300,c486e304 IRQ 51 MAC: 08:08:11:18:12:27 (chip)
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=3, 31ns Twrph0=6 63ns, Twrph1=4 42ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x000000000000-0x000000040000 : "u-boot"
ftl_cs: FTL header not found.
0x000000040000-0x000000060000 : "u-boot-env"
ftl_cs: FTL header not found.
0x000000060000-0x000000560000 : "kernel"
ftl_cs: FTL header not found.
0x000000560000-0x000004000000 : "root"
ftl_cs: FTL header not found.
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 368 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
cpuidle: using governor ladder
TCP cubic registered
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
registered taskstats version 1
s3c2410-rtc s3c2410-rtc: setting system clock to 2005-06-23 03:35:43 UTC (1119497743)
eth0: link down
Sending DHCP requests .<6>eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
., OK
IP-Config: Got DHCP answer from 10.0.0.5, my address is 10.0.0.52
IP-Config: Complete:
     device=eth0, addr=10.0.0.52, mask=255.255.255.0, gw=10.0.0.6,
     host=10.0.0.52, nis-domain=(none),
     bootserver=10.0.0.5, rootserver=10.0.0.4, rootpath=
Looking up port of RPC 100003/2 on 10.0.0.4
Looking up port of RPC 100005/1 on 10.0.0.4
VFS: Mounted root (nfs filesystem) on device 0:13.
Freeing init memory: 144K
Warning: unable to open an initial console.


esky-sh
Posts: 1449
Joined: Sat Dec 20, 2008 4:21 am

Re: Up-to-date kernel

Post by esky-sh » Mon Feb 02, 2009 2:47 am

Looks great!

Do you mean openWRT has a kernel 2.6.29 either?

buserror
Posts: 92
Joined: Thu Jan 22, 2009 12:28 am

Re: Up-to-date kernel

Post by buserror » Mon Feb 02, 2009 5:20 am

No, I added the .29 to openwrt myself. I chose .29 because quite a bunch of S3C24XX patched went in since .28; in particular, the MINI2440 and QQ2440 have their own official MACH_xx

I'm still struggling with openwrt, I think my image lacks the dedault devices and fails to start udev, or something.

tgintz
Posts: 19
Joined: Sun Dec 21, 2008 10:02 pm

Re: Up-to-date kernel

Post by tgintz » Mon Feb 02, 2009 9:56 am

I looked and couldn't see anything pertaining to MACH_ that contained anything with respect to the mini and qq2440 boards...

where did you find them? It would be great if the support is already there!

buserror
Posts: 92
Joined: Thu Jan 22, 2009 12:28 am

Re: Up-to-date kernel

Post by buserror » Mon Feb 02, 2009 11:33 am

Well they haven't added any support. They just added the numeric constants to the arch/arm/tools .. I still add to add the board code myself.

I progressed, I now have OpenWRT up and running. My problem was due to the fact that I was trying to build it around glibc, instead of uclibc. I hoped it would make things simoler, but apparently not..

buserror
Posts: 92
Joined: Thu Jan 22, 2009 12:28 am

Re: Up-to-date kernel

Post by buserror » Tue Feb 03, 2009 9:48 am

I'm still having some problems, but it's progressing well. My problem right now is that the DM9000 Ethernet driver fails at 405Mhz. I went out and cleaned all the various wrong settings for the PLL for the CPU, but no luck so far. It works at 300Mhz but I know there must be a setting somewhere...

LeshaK
Posts: 35
Joined: Wed Jan 14, 2009 1:01 am

Re: Up-to-date kernel

Post by LeshaK » Fri Feb 06, 2009 2:04 am

working kernel 2.6.28.2 for QQ2440V3
work: usb (hid, mass storage), mmc/sd/sdhc, ethernet, nand as fs, lcd (640x480)
don't work (yet): touch, adc
http://blog.leshak.ru/2009/02/04/obnovi ... -qq2440v3/

Code: Select all

U-Boot 1.1.6 (Jan 29 2009 - 11:21:43)

DRAM:  64 MB
Flash:  1 MB
NAND:  64 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
UPLLVal [M:38h,P:2h,S:2h]
MPLLVal [M:5ch,P:1h,S:1h]
CLKDIVN:5h

+---------------------------------------------+
| S3C2440A USB Downloader ver R0.03 2004 Jan  |
+---------------------------------------------+
USB: IN_ENDPOINT:1 OUT_ENDPOINT:3
FORMAT: +++
NOTE: Power off/on or press the reset button for 1 sec
      in order to get a valid USB device address.

Hit any key to stop autoboot:  0
Booting Linux ...
TFTP from server 192.168.0.29; our IP address is 192.168.0.22
Filename 'uImage'.
Load address: 0x32000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         ######################################
done
Bytes transferred = 1524108 (17418c hex)
## Booting image at 32000000 ...
   Image Name:
   Created:      2009-02-04  14:07:00 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1524044 Bytes =  1.5 MB
   Load Address: 30008000
   Entry Point:  30008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux................................................................................................... done, booting the kernel.
Linux version 2.6.28.2 (arm-eldk@leshak-dev2) (gcc version 4.2.2) #1 PREEMPT Wed Feb 4 17:06:55 MSK 2009
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: QQ2440V3
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
S3C24XX Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: init=/linuxrc console=ttySAC0,115200 root=/dev/nfs rw nfsroot=192.168.0.29:/opt/share/rootnfs noinitrd ip=192.168.0.22
irq: clearing pending ext status 00000200
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00500000, tcnt a2c1, tcfg 00000200,00000000, usec 00001eb8
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61652KB available (2812K code, 236K data, 136K init)
Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
NET: Registered protocol family 16
QQ2440V3 init()...
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
S3C244X: Clock Support, DVS off
SCSI subsystem initialized
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: 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
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (extended precision)
JFFS2 version 2.2. (NAND) б╘ 2001-2006 Red Hat, Inc.
msgmni has been set to 120
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Console: switching to colour frame buffer device 30x40
fb0: s3c2410fb frame buffer device
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
brd: module loaded
loop: module loaded
nbd: registered device at major 43
usbcore: registered new interface driver ub
[cs89x0_probe] S3C2410_BWSCON = 2211d110
[cs89x0_probe] S3C2410_BANKCON3 = 1f7c
[cs89x0_probe] S3C2410_GPGCON = fd95ffba
[cs89x0_probe] S3C2410_EXTINT1 = 22222242
[cs89x0_probe] S3C2410_EINTMASK = fffdf0
[cs89x0_probe] MAC ADDR: 0-0-c0-ff-ee-8
cs89x0:cs89x0_probe(0x0)
cs89x0.c: v2.4.3-pre1 Russell Nelson , Andrew Morton
eth0: cs8900 rev K found at 0xf8000300
cs89x0: Extended EEPROM checksum bad and no Cirrus EEPROM, relying on command line
cs89x0 media RJ-45, IRQ 53, programmed I/O, MAC 00:00:c0:ff:ee:08
cs89x0_probe1() successful
[cs89x0_probe] S3C2410_BWSCON = 2211d110
[cs89x0_probe] S3C2410_BANKCON3 = 1f7c
[cs89x0_probe] S3C2410_GPGCON = fd95ffba
[cs89x0_probe] S3C2410_EXTINT1 = 22222242
[cs89x0_probe] S3C2410_EINTMASK = fffdf0
[cs89x0_probe] MAC ADDR: 0-0-c0-ff-ee-8
cs89x0:cs89x0_probe(0x0)
cs89x0: request_region(0xf8000300, 0x10) failed
cs89x0: no cs8900 or cs8920 detected.  Be sure to disable PnP with SETUP
Driver 'sd' needs updating - please use bus_type methods
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=3, 30ns Twrph0=7 70ns, Twrph1=3 30ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 2 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00100000 : "Boot"
0x00100000-0x03d00000 : "root"
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 390 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mapped channel 0 to 0
s3c2440-sdi s3c2440-sdi: powered down.
s3c2440-sdi s3c2440-sdi: initialisation done.
TCP cubic registered
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
s3c2410-rtc s3c2410-rtc: setting system clock to 2009-02-04 17:43:48 UTC (1233769428)
eth0: using half-duplex 10Base-T (RJ-45)
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
     device=eth0, addr=192.168.0.22, mask=255.255.255.0, gw=255.255.255.255,
     host=192.168.0.22, domain=, nis-domain=(none),
     bootserver=255.255.255.255, rootserver=192.168.0.29, rootpath=
Looking up port of RPC 100003/2 on 192.168.0.29
Looking up port of RPC 100005/1 on 192.168.0.29
VFS: Mounted root (nfs filesystem).
Freeing init memory: 136K

******************************************
* Starting System Init for QQ2440
* Mountint file systems...
* Mounting tmpfs ...
* Seting host name...
* Setting system time as rtc time...
* Adding default gateway...
* Create /mnt/usb - for USB stick
* Create /mnt/mmc - for MMC/SD card
* System Init finished
******************************************

Please press Enter to activate this console.
id: unknown ID 0
/ # s3c2440-sdi s3c2440-sdi: running at 0kHz (requested: 0kHz).
s3c2440-sdi s3c2440-sdi: running at 196kHz (requested: 195kHz).
s3c2440-sdi s3c2440-sdi: running at 196kHz (requested: 195kHz).
s3c2440-sdi s3c2440-sdi: running at 196kHz (requested: 195kHz).
s3c2440-sdi s3c2440-sdi: running at 196kHz (requested: 195kHz).
s3c2440-sdi s3c2440-sdi: running at 196kHz (requested: 195kHz).
s3c2440-sdi s3c2440-sdi: running at 196kHz (requested: 195kHz).
s3c2440-sdi s3c2440-sdi: running at 196kHz (requested: 195kHz).
s3c2440-sdi s3c2440-sdi: running at 25000kHz (requested: 25000kHz).
s3c2440-sdi s3c2440-sdi: running at 25000kHz (requested: 25000kHz).
mmc0: new SDHC card at address 2530
mmcblk0: mmc0:2530 SD32G 30.3 GiB
 mmcblk0: p1 p2

/ # mount /dev/mmcblk0p1 /mnt/mmc
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
/ # usb 1-1: new full speed USB device using s3c2410-ohci and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
scsi 0:0:0:0: Direct-Access     JetFlash TS2GJFV85        8.07 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 4005888 512-byte hardware sectors: (2.05 GB/1.91 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 4005888 512-byte hardware sectors: (2.05 GB/1.91 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda:<7>usb-storage: queuecommand called
 sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk

/ # mount /dev/sda1 /mnt/usb
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
/ # fdisk -l /dev/sda

Disk /dev/sda: 2051 MB, 2051014656 bytes
64 heads, 62 sectors/track, 1009 cylinders
Units = cylinders of 3968 * 512 = 2031616 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1        1009     2001825  83 Linux
/ # fdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 32.6 GB, 32614907904 bytes
4 heads, 16 sectors/track, 995328 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

        Device Boot      Start         End      Blocks  Id System
/dev/mmcblk0p1               1      305177     9765656  83 Linux
/dev/mmcblk0p2          305178      995328    22084832  83 Linux
/ #
My qq2440 page
Sorry, it's russian, but you can use http://translate.google.com/ (ru > en/...)

buserror
Posts: 92
Joined: Thu Jan 22, 2009 12:28 am

Re: Up-to-date kernel

Post by buserror » Fri Feb 06, 2009 2:43 am

Good job !

I've been working on u-boot myself, trying to cleanup the mess of the various patched to really match the board -- the memory bank timing is are not set properly and that sort of things. It's a bit of a mess !

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests