Re: [U-Boot] Run hello world with Uboot !

2008-10-09 Thread thaoth
Hi Nobuhiro, I have tested your patch and it works well. Thank you for great work. -- View this message in context: http://www.nabble.com/Run-hello-world-with-Uboot-%21-tp19851315p19894599.html Sent from the Uboot - Users mailing list archive at Nabble.com.

Re: [U-Boot] Run hello world with Uboot !

2008-10-07 Thread thaoth
Hi All, Following guide at http://www.denx.de/wiki/DULG/UBootStandalone 1. Load hello_world.srec into SDRAM => loads ## Ready for S-Record download ... ## First Load Addr = 0x8E00 ## Last Load Addr = 0x8E000157 ## Total Size = 0x0158 = 344 Bytes ## Start Addr = 0x8E00 2

[U-Boot] Run hello world with Uboot !

2008-10-06 Thread thaoth
Hi, I'm working on SH7727 T-Engine Board (MS7727CP02)(sh3) and I'm trying to load Hello World example in U-boot (use Serial, ymodem and hello_world.bin), ... => loady 0x8e00 ## Ready for binary (ymodem) download to 0x8E00 at 115200 bps... CCCxyzModem - CRC mode, 2(SOH)/69(STX)/0(CAN) pac

Re: [U-Boot] [UBoot] Hows to boot Linux Kernel from USB

2008-10-02 Thread thaoth
Hi Michael, >Have you try to load your image using tftpboot and put it in memory? My board don't have Eth port, so we can't try tftpboot >Are you sure that you don't have any problem with memory initialization? i think i don't have any problem with memory initialization, because i can see my ima

Re: [U-Boot] [UBoot] Hows to boot Linux Kernel from USB

2008-10-02 Thread thaoth
Hi, Do i have a problem with "Verifying Checksum ... Bad Data CRC”? Best regard. -- View this message in context: http://www.nabble.com/-UBoot--Hows-to-boot-Linux-Kernel-from-USB-tp19740267p19790840.html Sent from the Uboot - Users mailing list archive at Nabble.com. ___

Re: [U-Boot] [UBoot] Hows to boot Linux Kernel from USB

2008-10-02 Thread thaoth
Hi, I tried to boot with ext2 file system and get this result: => usb start (Re)start USB... USB: scanning bus for devices... cannot reset port 1!? 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found =>ext2load usb 0:1 0x0020 uImage ……. 1045127 bytes

Re: [U-Boot] [UBoot] Hows to boot Linux Kernel from USB

2008-10-01 Thread thaoth
I think I made a mistake; I didn’t describe my problem clearly. So, now I fix it. My purpose is: find out a way to boot a Linux Kernel from USB (FAT16). Here are the steps I‘ve made: 1. Get some kernel images (zImage, uImage) which I built (kernel version 2.6.22.11). 2. Go to the board (T-Eng

Re: [U-Boot] [UBoot] Hows to boot Linux Kernel from USB

2008-09-30 Thread thaoth
>> [EMAIL PROTECTED] boot]# file uImage >> uImage: PPCBoot image >> ... >> >> I tried and send you its log. >What is the kernel version that you use? I'm using version 2.6.22.11. Thank you for answer Best regards, -- View this message in context: http://www.nabble.com/-UBoot--Hows-to-boot-L

Re: [U-Boot] [UBoot] Hows to boot Linux Kernel from USB

2008-09-30 Thread thaoth
>>Can you retry and copy-paste the console output? ... (Re)start USB... USB: scanning bus for devices... cannot reset port 1!? 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found => fatload usb 0:1 0x8e00 uImage reading uImage . . . . .

Re: [U-Boot] [UBoot] Hows to boot Linux Kernel from USB

2008-09-30 Thread thaoth
Albert ARIBAUD wrote: > > thaoth a écrit : > >> This seems here is wrong command. I should load uImage (not zImage) into >> SDRAM memory. > > Hmm... So why don't you ? > > Amicalement, > -- > Albert. > ___

[U-Boot] [UBoot] Hows to boot Linux Kernel from USB

2008-09-30 Thread thaoth
Hi All, I would like to know how to boot linux kernel from USB. I have ported UBoot (support serial, USB driver) but didn't support CF card. Would you please tell me how to boot Linux Kernel from USB Flash memory? I have many guide could help hows to boot Linux kernel from CF card or network bu

Re: [U-Boot] ERROR: CTL:TIMEOUT - USB porting issue for UBoot on TEngine/SH7727

2008-09-12 Thread thaoth
Hi Remy, Thank you for your helping. It worked well. Many thanks -- View this message in context: http://www.nabble.com/ERROR%3A-CTL%3ATIMEOUT---USB-porting-issue-for-UBoot-on-TEngine-SH7727-tp19411807p19453698.html Sent from the Uboot - Users mailing list archive at Nabble.com. __

Re: [U-Boot] [T-Engine] UBoot configuration for T-Engine/SH7727 MS7727CP02 DevKit

2008-09-12 Thread thaoth
Hi, Yoshihiro Shimoda wrote: > > > diff --git a/common/usb.c b/common/usb.c > index 9502f39..1acf51d 100644 > --- a/common/usb.c > +++ b/common/usb.c > @@ -250,7 +250,10 @@ int usb_set_maxpacket(struct usb_device *dev) > > for(i=0; iconfig.bNumInterfaces;i++) { > for(ii=0;

Re: [U-Boot] [T-Engine] UBoot configuration for T-Engine/SH7727 MS7727CP02 DevKit

2008-09-12 Thread thaoth
ntf("ep = %x\n",ep);" But the result when run command "usb start" the same strategy 1, I can't get information of USB2.0(mass storage) Can you help me to resolve this bug? Thank you very much for your supports! Yoshihiro Shimoda wrote: > > Hi, thaoth. >

Re: [U-Boot] [T-Engine] UBoot configuration for T-Engine/SH7727 MS7727CP02 DevKit

2008-09-11 Thread thaoth
Hi, > > Following your instruction, I did > int usb_board_init(void) > { > printf("usb_board_init\n"); > > outw(0x18, STBCR3); > outw(0x18, SRSTR); > udelay(10); > > outw(0x28, EXCPGCR); > udelay(10); > > outw(0x00, STBCR3); > outw(0x00, SRSTR); > ret

Re: [U-Boot] [T-Engine] UBoot configuration for T-Engine/SH7727 MS7727CP02 DevKit

2008-09-11 Thread thaoth
Yoshihiro Shimoda wrote: > > Hi, thaoth. > > I think that your board cannot communicate with USB device at all. > SH7727 has EXCPGCR register. Do you set this register? > When I used this CPU before, I did the following setting. > > STCBR3 = 0x

Re: [U-Boot] [T-Engine] UBoot configuration for T-Engine/SH7727 MS7727CP02 DevKit

2008-09-10 Thread thaoth
Hi, I got USB issue and here is an error message: ERROR: CTL:TIMEOUT USB device not responding, giving up (status=20) 3 USB Device(s) found scanning bus for storage devices... 0 Storage Device(s) found For detail, TEngine/SH7727 has one USB host controller, when I plugged USB Flash Memo

Re: [U-Boot] [T-Engine] UBoot configuration for T-Engine/SH7727 MS7727CP02 DevKit

2008-09-02 Thread thaoth
in my configure? why the led turn off when I run command "usb start"? thanks Nobuhiro Iwamatsu wrote: > > Hi, > > 2008/8/20 thaoth <[EMAIL PROTECTED]>: >> >> Hi Nobuhiro Iwamatsu, >> >> 1. Clock frequency of board. >> >> #defi

Re: [U-Boot] [T-Engine] UBoot configuration for T-Engine/SH7727 MS7727CP02 DevKit

2008-08-21 Thread thaoth
Hi Nobuhiro Iwamatsu, I have checked sequence initialization functions in sh_generic_init and the problem is serial library cannot work correctly. The result is output to console cannot display. Regards. -- View this message in context: http://www.nabble.com/-T-Engine--UBoot-configuration-for

Re: [U-Boot] [T-Engine] UBoot configuration for T-Engine/SH7727 MS7727CP02 DevKit

2008-08-21 Thread thaoth
Hi Nobuhiro Iwamatsu, > I think that cpu_init is not carried out. > I think that u-boot stopped on lowlevel_init function. thaoth wrote: > > In lowlevel_init function, I put a LED debugging function which turn on > LED on debug board. It works. > > mov.l LE

Re: [U-Boot] [T-Engine] UBoot configuration for T-Engine/SH7727 MS7727CP02 DevKit

2008-08-21 Thread thaoth
Hi Nobuhiro Iwamatsu, > Please set outside clock to CONFIG_SYS_CLK_FREQ. Sorry I didn't see "outside clock" in T-Engine/SH7727 specification. Regard to clock of board, there are 3 types - Internal clock - Peripheral clock - Bus clock And have a look initialization values of T-Monitor - a boot lo

Re: [U-Boot] [T-Engine] UBoot configuration for T-Engine/SH7727 MS7727CP02 DevKit

2008-08-19 Thread thaoth
Hi Nobuhiro Iwamatsu, 1. Clock frequency of board. #define CONFIG_SYS_CLK_FREQ #define TMU_CLK_DIVIDER 4 /* 4 (default), 16, 64, 256 or 1024 */ #define CFG_HZ (CONFIG_SYS_CLK_FREQ / TMU_CLK_DIVIDER) I don't understand how to set CONFIG_SYS_CLK_FREQ va