[U-Boot] the result of get_timer(0) or get_ticks() does not change

2009-01-04 Thread Lance Zhang
Hi all, I change some codes in u boot, and I want to calculate the time So I write codes like follows: Ulong begin = get_ticks(); for (i = 0; i < 100; i ++) { udelay(1000); } Ulong end = get_ticks(); But the value of begin and end are alw

Re: [U-Boot] debug uboot from ram for x86 board

2008-12-25 Thread Lance Zhang
> I carefully read the codes related to the do_go function, and I find that(u > boot 1.1.6): > In do_go() functions: > #if defined(CONFIG_I386) > /* >* x86 does not use a dedicated register to pass the pointer >* to the global_data >*/ > argv[0] = (char *)gd; > #

Re: [U-Boot] debug uboot from ram for x86 board

2008-12-25 Thread Lance Zhang
I modified the global_data = (gd_t *)argv[-1]; in app_startup function to global_data = (gd_t *)argv[0], the change still does not make sense. Any ideas? Maybe I should change the argv[0] = (char *)gd; in do_go function to argv[-1] = (char *)gd; Thanks Lance Zhang ___

Re: [U-Boot] u-boot.lds i686-pc-linux-gnu-ld section .start16 overlapssection .text

2008-12-04 Thread Lance Zhang
map file and found that I can only use 6312 bytes space. It will be difficult for me to reduce the wireless Ethernet driver into 6312bytes. Anyway Thanks for the explanations. Lance Zhang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mail

Re: [U-Boot] u-boot.lds i686-pc-linux-gnu-ld section .start16 overlapssection .text

2008-12-04 Thread Lance Zhang
Vignesh, Thank you very much. >Try to change the boundary limits for the sections to prevent conflicts, >this is due to the new addition of the driver code. I am not familiar with the liker script. Can I simplely modify the following codes in u-boot.lds . = 0xff00; .start16 : AT (0

Re: [U-Boot] mini-pci wireless driver

2008-11-19 Thread Lance Zhang
> > > With the Ralink chip it's not too much complicate to add wifi support. > > > You need to upload the firmware and manage the wifi configuration via > > the > > > firmware. After it will work as ant other ethernet driver. > > > > Thank you, I will ask for the Ralink chip information from manuf

Re: [U-Boot] mini-pci wireless driver

2008-11-12 Thread Lance Zhang
> With the Ralink chip it's not too much complicate to add wifi support. > You need to upload the firmware and manage the wifi configuration via the > firmware. After it will work as ant other ethernet driver. Thank you, I will ask for the Ralink chip information from manufacturer, then I will tr

Re: [U-Boot] mini-pci wireless driver

2008-11-11 Thread Lance Zhang
there any U Boot branches that have already implemented wireless extension on U boot? Thanks Lance Zhang -Original Message- From: Wolfgang Denk [mailto:[EMAIL PROTECTED] Sent: 2008年11月11日 3:57 To: Lance Zhang Subject: Re: [U-Boot] mini-pci wireless driver Dear "Lance Zhang",

Re: [U-Boot] mini-pci wireless driver

2008-11-09 Thread Lance Zhang
PROTECTED] Sent: 2008年11月5日 14:45 To: Lance Zhang Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] mini-pci wireless driver On 14:41 Tue 04 Nov , Lance Zhang wrote: > Hi, > > > > I am going to write a mini-pci driver (GIGABYTE MiniPCI Wireless > Adapter: GN-WI01GS) for u-bo

[U-Boot] mini-pci wireless driver

2008-11-03 Thread Lance Zhang
ers/2008_0506_RT73_Linux_STA_Drv1 .1.0.1.tar.bz2> ), Anyone knows how I can port the Linux driver to u-boot driver Appreciate it if someone can give me some links/hints... Thanks Lance Zhang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/m