IRC log for #elinux on 20090712

00:00.32m4ti somewhat figured out how to use a gdb-cross with vmlinux to connect to qemu, and found that the kernel seems to go into a panic/do_blink loop around walnut_probe()
00:02.20m4ti want to see it might panic here: unsigned long root = of_get_flat_dt_root();
00:02.34m4twhich is where i think the addresses in walnut.dts are probed
00:02.57m4tand there *is* a section there describing nvram/rtc, though the panic still seems to occur with it commented out
00:03.51m4ts/see/say/
00:04.28m4ts/to see/to say/
00:04.34m4tyea
00:04.36m4tanyhow
00:06.20m4ti just got my psu in the mail so i've moved my efforts onto the actual board, rather than qemu
00:08.24GPSFanm4t: you know that the board described on the elinux wiki is not really a walnut. it is very similar but there are differences.
00:09.32m4tGPSFan yea i got a dht-walnut
00:10.25GPSFanyes and that is not the  walnut platform in the kernel
00:12.26m4twas it deprecated
00:12.43m4t?
00:12.57GPSFanthe latest kernel I ran on mine was 2/6/16-rc3. the ppcboot really needed updating. I had a version of 1.1.6 but dfarnsworth had uboot running on it.
00:13.25m4ti got 1.2.0 working
00:13.35m4ti just up-ported the openembedded patch a few releases
00:13.47GPSFanthe support code was never really put into mainline, so I don't know it's status. mine runs as a music server 24/7 and has for several years
00:13.51m4tthe image that comes out works in the emulator
00:13.57m4thrm cool
00:14.20m4ti might just try going with the 2.6.23 they have
00:14.46m4tafter that it seems like the ppc/walnut disappears and it becomes with powerpc/walnut with walnut.dts rather than a bunch of addresses/registers in walnut.c
00:15.05m4t-with
00:16.08m4tit seems the only thing that was done to work on the dht-walnut in openembedded was a 'remove_todc' patch which removes rtc support
00:16.16m4tso i tried to follow in that direction
00:16.25GPSFanbbl
00:17.11m4tyea, later
00:21.22m4tyea one of them was done by montevista in 00-02 and the recent walnut work was done by ibm in 07 it seems
00:21.37m4titd be sweet to get a dht_walnut.c and dht_walnut.dts goin
01:32.46*** join/#elinux Dr_Who (n=tgall@gentoo/developer/dr-who)
01:44.10*** join/#elinux likewhoa (n=y0@ool-45717734.dyn.optonline.net)
04:54.39m4ti am headed the direction of 2.4.37.2
07:24.24*** join/#elinux Christos_N (n=Christos@ppp-94-66-54-74.home.otenet.gr)
07:27.14*** join/#elinux Xires (n=Xires@66-190-79-122.dhcp.dntn.tx.charter.com)
07:40.04*** join/#elinux Toi_ (n=toi@62.140.137.61)
08:29.04*** join/#elinux lyakh (n=lyakh@p57BD1080.dip0.t-ipconnect.de)
09:04.06*** join/#elinux lyakh (n=lyakh@p57BD1080.dip0.t-ipconnect.de)
09:07.01*** join/#elinux Toi_ (n=toi@37.85.28.81-mn.aerea.nl)
10:01.48*** join/#elinux pirho (i=pirho@gateway/gpg-tor/key-0x2CEEC9CB)
12:03.37*** join/#elinux Omegamoon (n=egoe@demolitionman.xs4all.nl)
12:20.56*** join/#elinux Toi_ (n=toi@62.140.137.27)
13:05.59*** join/#elinux Dr_Who (n=tgall@gentoo/developer/dr-who)
13:16.17*** join/#elinux GPSFan (n=kenm@64.92.145.112)
13:21.02*** join/#elinux orges (n=yet@88.251.254.198)
13:29.18*** join/#elinux thraxisp (n=thraxisp@24.139.16.154)
13:45.14*** join/#elinux Dr_Who (n=tgall@gentoo/developer/dr-who)
14:21.55*** join/#elinux Toi_ (n=toi@62.140.137.26)
14:22.04m4t## Transferring control to Linux (at address 00000000) ...
14:22.04m4tWarning, memory limited to 768 Mb, use CONFIG_HIGHMEM to reach 4079 Mb
14:22.04m4tLinux version 2.4.37.2 (matt@deep-thought) (gcc version 4.4.0 (GCC) ) #1 Sun Jul 12 09:53:28 EDT 2009
14:22.04m4tIBM Walnut port (C) 2000-2002 MontaVista Software, Inc. (source@mvista.com)
14:22.04m4tOn node 0 totalpages: 196608
14:22.05m4tzone(0): 196608 pages.
14:22.07m4tzone(1): 0 pages.
14:22.09m4tzone(2): 0 pages.
14:22.11m4tKernel command line: console=ttyS0,9600
14:22.13m4tWarning: real time clock seems stuck!
14:22.15m4t:--)
14:22.53m4ti had it set up real nice, modifed to say IBM DHT-Walnut port and everything
14:23.01m4tbut i didnt get console output
14:26.07m4tthis world of walnut thing is kind of time consuming
14:26.12m4tWoW
14:56.57m4thrm so i got rid of the rtc code
14:57.18m4tand set a few of the ppc_md.times to NULL, mimicing a few other board.c files
14:58.26m4ti dont get any further than Kernel command line: console=ttyS0,9600
14:58.29m4tthough
15:17.24*** join/#elinux dijenerate (n=dijenera@64.210.44.91)
15:19.30*** join/#elinux Christos_N (n=Christos@ppp-94-66-46-5.home.otenet.gr)
15:32.16m4tfreezes right at sti();
15:32.19m4twhatever that is
16:57.29*** join/#elinux lyakh (n=lyakh@p57BD1080.dip0.t-ipconnect.de)
17:14.49*** join/#elinux Dr_Who (n=tgall@gentoo/developer/dr-who)
18:19.29*** join/#elinux djszapi_ (n=djszapi@94-21-75-156.pool.digikabel.hu)
18:19.32djszapi_Hello!
18:20.54djszapi_Is there any pragma operator facility with gcc, like this: _Pragma("interrupt")? __attribute__ ((interrupt_handler)) <- maybe this ?
18:21.14*** join/#elinux booxter (n=booxter@212.98.182.22)
18:31.13*** join/#elinux Christos_N (n=Christos@ppp-94-66-46-5.home.otenet.gr)
19:53.30*** join/#elinux orges (n=yet@88.251.254.198)
20:35.28*** join/#elinux Dr_Who (n=tgall@gentoo/developer/dr-who)
22:49.58*** join/#elinux Dr_Who (n=tgall@gentoo/developer/dr-who)
22:50.11MonMothadjszapi_: there is an interrupt "attribute" on many architectures
22:50.21MonMothabut you can't turn it into a pragma that I know of
22:50.40MonMothagcc's use of "pragma" is pretty limited.  They're not fans of how "non-standard" it is.
22:51.19MonMothawhat many people do is use macros to turn them into fake keywords so you can do e.g. "void handler my_interrupt() { ... }"
22:51.40MonMothathe Linux kernel takes that approach with several attributes and does something somewhat similar for interrupts.
23:34.24*** join/#elinux thraxisp (n=thraxisp@24.139.16.154)
23:41.37*** join/#elinux Dr_Who (n=tgall@gentoo/developer/dr-who)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.