All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] How to configurate USB of mpc8247 in u-boot 1.1.3
       [not found] <mailman.0.1150274645.2977.u-boot-users@lists.sourceforge.net>
@ 2006-06-14  9:04 ` lichlin
  2006-06-14 11:33   ` Markus Klotzbücher
                     ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: lichlin @ 2006-06-14  9:04 UTC (permalink / raw)
  To: u-boot

Hello:

  I have done some define in include/configs/MPC8260ADS.h.
       #define CONFIG_COMMANDS      ( ( CFG_CMD_ALL & ~( \
                                 CFG_CMD_SDRAM  | \
                                 CFG_CMD_I2C    | \
                                 CFG_EXCLUDE    ) ) | \
                                 CFG_CMD_USB | \
                                 CFG_CMD_FAT )
      #define CONFIG_USB_OHCI
      #define CONFIG_USB_STORAGE
      #define CONFIG_MAC_PARTITION
      #define CONFIG_DOS_PARTITION
  
But the result of compile is error. The print of compile is following:

UNDEF_SYM=`ppc_82xx-objdump -x lib_generic/libgeneric.a board/mpc8260ads/libmpc8260ads.a cpu/mpc8260/libmpc8260.a lib_ppc/libppc.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a common/libcommon.a |sed  -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
        ppc_82xx-ld -Bstatic -T /user/srp/u-boot-1.1.3/board/mpc8260ads/u-boot.lds -Ttext 0x10000000  -n $UNDEF_SYM cpu/mpc8260/start.o \
                --start-group lib_generic/libgeneric.a board/mpc8260ads/libmpc8260ads.a cpu/mpc8260/libmpc8260.a lib_ppc/libppc.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a common/libcommon.a --end-group -L /opt/eldk/usr/bin/../lib/gcc-lib/ppc-linux/3.3.3/pic -lgcc \
                -Map u-boot.map -o u-boot
common/libcommon.a(usb.o)(.text+0x54): In function `usb_init':
/user/srp/u-boot-1.1.3/common/usb.c:96: undefined reference to `usb_lowlevel_init'
common/libcommon.a(usb.o)(.text+0xd4): In function `usb_stop':
/user/srp/u-boot-1.1.3/common/usb.c:117: undefined reference to `usb_lowlevel_stop'
common/libcommon.a(usb.o)(.text+0x140): In function `usb_submit_int_msg':
/user/srp/u-boot-1.1.3/common/usb.c:141: undefined reference to `submit_int_msg'
common/libcommon.a(usb.o)(.text+0x1e0): In function `usb_control_msg':
/user/srp/u-boot-1.1.3/common/usb.c:170: undefined reference to `submit_control_msg'
common/libcommon.a(usb.o)(.text+0x27c): In function `usb_bulk_msg':
/user/srp/u-boot-1.1.3/common/usb.c:197: undefined reference to `submit_bulk_msg'
common/libcommon.a(usb_storage.o)(.text+0x8d4): In function `usb_stor_CBI_get_status':
/user/srp/u-boot-1.1.3/common/usb_storage.c:527: undefined reference to `submit_int_msg'
make: *** [u-boot] Error 1

How do i?

Best Regards,



lichlin
2006-06-14
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060614/70503e04/attachment.htm 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] How to configurate USB of mpc8247 in u-boot 1.1.3
  2006-06-14  9:04 ` [U-Boot-Users] How to configurate USB of mpc8247 in u-boot 1.1.3 lichlin
@ 2006-06-14 11:33   ` Markus Klotzbücher
  2006-06-14 14:16   ` Wolfgang Denk
  2006-06-15 13:58   ` [U-Boot-Users] logistic question gxk
  2 siblings, 0 replies; 4+ messages in thread
From: Markus Klotzbücher @ 2006-06-14 11:33 UTC (permalink / raw)
  To: u-boot


"lichlin" <lichlin@gmail.com> writes:

>      I have done some define in include/configs/MPC8260ADS.h.
>
>           #define CONFIG_COMMANDS      ( ( CFG_CMD_ALL & ~( \
>                                     CFG_CMD_SDRAM  | \
>                                     CFG_CMD_I2C    | \
>                                     CFG_EXCLUDE    ) ) | \
>                                     CFG_CMD_USB | \
>                                     CFG_CMD_FAT )
>          #define CONFIG_USB_OHCI
>          #define CONFIG_USB_STORAGE
>          #define CONFIG_MAC_PARTITION
>          #define CONFIG_DOS_PARTITION
>
>
>    But the result of compile is error. The print of compile is following:

It seems an appropriate lowlevel usb driver is missing for your
board/cpu. Look at the usb_ohci.[ch] / usb_uhci.[ch] drivers for
examples. If you have an OHCI controller, consider using the USB-testing
branch and use the generic driver. In any case you should use a current
version of U-Boot.

And please don't send HTML and BASE64 encoded messages.

Regards

Markus Klotzbuecher

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] How to configurate USB of mpc8247 in u-boot 1.1.3
  2006-06-14  9:04 ` [U-Boot-Users] How to configurate USB of mpc8247 in u-boot 1.1.3 lichlin
  2006-06-14 11:33   ` Markus Klotzbücher
@ 2006-06-14 14:16   ` Wolfgang Denk
  2006-06-15 13:58   ` [U-Boot-Users] logistic question gxk
  2 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2006-06-14 14:16 UTC (permalink / raw)
  To: u-boot

In message <200606141704210596447@gmail.com> you wrote:
> 
> This is a multi-part message in MIME format.
> 
> --===============0728787736==
> Content-Type: multipart/alternative;
> 	boundary="=====003_Dragon433544062381_====="
> 
> 
> This is a multi-part message in MIME format.
> 
> --=====003_Dragon433544062381_=====
> Content-Type: text/plain;
> 	charset="gb2312"
> Content-Transfer-Encoding: 7bit


Please don't do that. Please send plain ASCII text only.


>   I have done some define in include/configs/MPC8260ADS.h.
>        #define CONFIG_COMMANDS      ( ( CFG_CMD_ALL & ~( \
>                                  CFG_CMD_SDRAM  | \
>                                  CFG_CMD_I2C    | \
>                                  CFG_EXCLUDE    ) ) | \
>                                  CFG_CMD_USB | \
>                                  CFG_CMD_FAT )
>       #define CONFIG_USB_OHCI
>       #define CONFIG_USB_STORAGE
...
> common/libcommon.a(usb.o)(.text+0x54): In function `usb_init':
> /user/srp/u-boot-1.1.3/common/usb.c:96: undefined reference to `usb_lowlevel_init'
> common/libcommon.a(usb.o)(.text+0xd4): In function `usb_stop':
> /user/srp/u-boot-1.1.3/common/usb.c:117: undefined reference to `usb_lowlevel_stop'
> common/libcommon.a(usb.o)(.text+0x140): In function `usb_submit_int_msg':
> /user/srp/u-boot-1.1.3/common/usb.c:141: undefined reference to `submit_int_msg'
> common/libcommon.a(usb.o)(.text+0x1e0): In function `usb_control_msg':
> /user/srp/u-boot-1.1.3/common/usb.c:170: undefined reference to `submit_control_msg'
> common/libcommon.a(usb.o)(.text+0x27c): In function `usb_bulk_msg':
> /user/srp/u-boot-1.1.3/common/usb.c:197: undefined reference to `submit_bulk_msg'
> common/libcommon.a(usb_storage.o)(.text+0x8d4): In function `usb_stor_CBI_get_status':
> /user/srp/u-boot-1.1.3/common/usb_storage.c:527: undefined reference to `submit_int_msg'
> make: *** [u-boot] Error 1
> 
> How do i?

Add a USB driver for the MPC82xx. So far, there is none.

> --=====003_Dragon433544062381_=====
> Content-Type: text/html;
> 	charset="gb2312"
> Content-Transfer-Encoding: base64
> 
> PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv
> L0VOIj4NCjxIVE1MPjxIRUFEPg0KPE1FVEEgaHR0cC1lcXVpdj1Db250ZW50LVR5cGUgY29udGVu
> dD0idGV4dC9odG1sOyBjaGFyc2V0PWdiMjMxMiI+DQo8TUVUQSBjb250ZW50PSJNU0hUTUwgNi4w
...

And *never again* post HTMNL here. Never!

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
PoB = "Prisoner of Bill" -- those held captive, unwillingly or other-
wise, by the contemptible Microsoft monopoly.
         -- Tom Christiansen in <6abo45$3lc$2@csnews.cs.colorado.edu>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] logistic question
  2006-06-14  9:04 ` [U-Boot-Users] How to configurate USB of mpc8247 in u-boot 1.1.3 lichlin
  2006-06-14 11:33   ` Markus Klotzbücher
  2006-06-14 14:16   ` Wolfgang Denk
@ 2006-06-15 13:58   ` gxk
  2 siblings, 0 replies; 4+ messages in thread
From: gxk @ 2006-06-15 13:58 UTC (permalink / raw)
  To: u-boot

Hi
Can anybody tell, where is TODO list for uboot?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-06-15 13:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.0.1150274645.2977.u-boot-users@lists.sourceforge.net>
2006-06-14  9:04 ` [U-Boot-Users] How to configurate USB of mpc8247 in u-boot 1.1.3 lichlin
2006-06-14 11:33   ` Markus Klotzbücher
2006-06-14 14:16   ` Wolfgang Denk
2006-06-15 13:58   ` [U-Boot-Users] logistic question gxk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.