|
From: Heiko S. <hei...@in...> - 2007-11-01 21:39:24
|
Hello Paul,
Paul Mundt schrieb:
> On Tue, Oct 30, 2007 at 06:44:32PM +0100, Heiko Schocher wrote:
>> Paul Mundt schrieb:
>>>> Is there a board running with a SH7750R? Maybe there is some CPU
>>>> specific stuff to set up ...
>>>>
>>> Can you attach your entire .config? I don't have a SH7750R handy,
>>> but can
>>> probably dig one up if nothing else helps.
>> After looking in the SH7751R Manual, I saw, that the SH7751R can t use
>> SDRAM with Bussize 64 Bit. The SH7750R can use SDRAM with 64 Bit
>> Bussize, which I use on my board. Also can the SH7750R map the
>> SDRAM to Area 2 or 3, the SH7751R only to Area 3, maybe there is a
>> problem?
>>
> No, that shouldn't matter. If this was a problem, you wouldn't be making
> it very far in the kernel at least.
>
> There are two other things to try first, write-through caching, and
> reverting commit-id 023ef184fff6ac2e7cba345708f35536a2a419cb. Your
> problem does not seem to be related to what Kristoffer is hitting, but
> the bogus INTEVT is rather perplexing.
>
I have it running :-)
=> run sh
TFTP from server 192.168.1.4; our IP address is 192.168.1.10
Filename 'kernel-sh'.
Load address: 0xc000000
Loading: #################################################################
########################
done
Bytes transferred = 1302592 (13e040 hex)
## Booting image at 0c000000 ...
Image Name: sh-linux-image
Created: 2007-11-01 21:34:14 UTC
Image Type: SuperH Linux Kernel Image (uncompressed)
Data Size: 1302528 Bytes = 1.2 MB
Load Address: 88800000
Entry Point: 88800000
Verifying Checksum ... OK
OK
starting SH kernel ...
Uncompressing Linux...
Ok, booting the kernel.
Linux version 2.6.24-rc1-gc5f67c68-dirty (@Zeus) (gcc version 4.1.1
20061011 (Red Hat 4.1.1-30)) #77 Thu Nov 1 22:33:47 CET 2007
Booting machvec: POSEIDON
Node 0: start_pfn = 0x8000, low = 0x10000
Zone PFN ranges:
Normal 32768 -> 65536
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 32768 -> 65536
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: root=/dev/nfs rw
nfsroot=192.168.1.4:/home/hs/Entwicklung/sh4/rootfs,rsize=1024,wsize=1024
ip=192.168.1.10:192.168.1.4::255.255.255.0:poseidon:eth0:off panic=1
console=ttySC1,38400 netdev=8,0xa0200000,0,0xbad,eth0
arch/sh/boards/emblux/poseidon/irq.c init_poseidon_IRQ
arch/sh/kernel/cpu/sh4/setup-sh7750.c plat_irq_setup_pins mode: 0
PID hash table entries: 512 (order: 9, 2048 bytes)
Using tmu for system timer
Using 8.333 MHz high precision timer.
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 127360k/131072k available (1906k kernel code, 445k data, 92k init)
PVR=04050045 CVR=20480000 PRR=00000103
I-cache : n_ways=2 n_sets=256 way_incr=8192
I-cache : entry_mask=0x00001fe0 alias_mask=0x00001000 n_aliases=2
D-cache : n_ways=2 n_sets=512 way_incr=16384
D-cache : entry_mask=0x00003fe0 alias_mask=0x00003000 n_aliases=4
Mount-cache hash table entries: 512
CPU: SH7750R
net_namespace: 64 bytes
NET: Registered protocol family 16
DMA: Registering DMA API.
DMA: Registering sh_dmac handler (8 channels).
Time: SuperH clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
fuse init (API version 7.9)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
SuperH SCI(F) driver initialized
sh-sci: ttySC0 at MMIO 0xffe00000 (irq = 25) is a sci
sh-sci: ttySC1 at MMIO 0xffe80000 (irq = 43) is a scif
console [ttySC1] enabled
loop: module loaded
8390.c:v1.10cvs 9/23/94 Donald Becker (be...@ce...)
ne.c:v1.10 9/23/94 Donald Becker (be...@sc...)
Last modified Nov 1, 2000 by Paul Gortmaker
NE*000 ethercard probe at 0xa0200000:5a:77:3d:57:93:16
eth0: NE2000 found at 0xa0200000, using IRQ 8.
8390.c:v1.10cvs 9/23/94 Donald Becker (be...@ce...)
shwdt: initialized. heartbeat=30 sec (nowayout=0)
nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
IP-Config: Complete:
device=eth0, addr=192.168.1.10, mask=255.255.255.0,
gw=255.255.255.255,
host=poseidon, domain=, nis-domain=(none),
bootserver=192.168.1.4, rootserver=192.168.1.4, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.4
Looking up port of RPC 100005/1 on 192.168.1.4
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 92k freed
init started: BusyBox v1.7.2 (2007-11-01 20:25:53 CET)
Welcome to POSEIDON LINUX done by EmbLux KFT (2007) (sh7750R) - Kernel
2.6.24-rc1-gc5f67c68-dirty (ttySC1).
poseidon login: root
login[18]: root login on 'ttySC1'
[\u@\h \W]$
:-)
But I get it running without caches enabled -> There is somewhere the
Problem, I am searching
for it ... if I enable the caches I get allways this bogus INTEVT 0x1e0
after starting the init ... (And
sometimes the complete Kernel never starts ...)
Thanks for your help!
When I found it, I give you feedback, also adding the patches for the
board here, right?
BTW:
It runs with the patch from Kristoffer commit-ID:
023ef184fff6ac2e7cba345708f35536a2a419cb.
It also runs without this patch ...
bye
Heiko
|