some question about serial.c

Dennis.Yxun dennis.yxun at gmail.com
Tue Jul 22 17:18:11 CEST 2008


just curious about what u wana do? test nand?

I'm also interested in the low level bootstrap procedure
so I pull the serial.c code from u-boot, but don't test it through

here is the patch~

before doing, must correct following error
since i don't how to fix it
(either replace get_PLLCLK function? or find a proper compile method?...)

~/src/speed.c:72: undefined reference to `__aeabi_uidiv'
~/src/speed.c:75: undefined reference to `__aeabi_uidiv'

hope helps


On Tue, Jul 22, 2008 at 6:29 PM, Andy Green <andy at openmoko.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Somebody in the thread at some point said:
> | in serial.c file there use :
> | --S3C24X0_UART
> | --gd
> | --get_PCLK()
> |
> | use :
> | xiangfu at xiangfu-laptop:~/cworkspace/u-boot$ find  -type f |xargs grep
> | S3C24X0_UART
> | try to find where "S3C24X0_UART" declare. but i find nothing :-(
> |
> | i want know where them declare.
>
>
> S3C24X0_UART: include/s3c24x0.h
>
> gd:  funny one it seems type declared gd_t in
> include/asm-arm/global_data.h and instantiation as #define using
> arch-dependent register for speed.
>
> get_PCLK: cpu/arm920t/s3c24x0/speed.c
>
> to grep around I use like
>
> ~ grep get_PCLK * -R
>
> - -Andy
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkiFtogACgkQOjLpvpq7dMoeJQCfShKgdx4itnLrrHMWxp093C0N
> ggwAni1U1I+CQTDbzVxSbiB1cQf26CS3
> =y0WQ
> -----END PGP SIGNATURE-----
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20080722/eecdfb01/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kboot_serial_console.patch
Type: text/x-patch
Size: 82964 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20080722/eecdfb01/attachment.bin 


More information about the openmoko-kernel mailing list