* [U-Boot] Boot from USB support for Kirkwood SOC
@ 2009-06-10 9:53 Prafulla Wadaskar
2009-06-11 7:20 ` xiangfu
0 siblings, 1 reply; 9+ messages in thread
From: Prafulla Wadaskar @ 2009-06-10 9:53 UTC (permalink / raw)
To: u-boot
Dear Remy Bohmer
I am going to start "boot from USB Support" development for kirkwood.
To sync with current USB framework in U-boot, and to reduce some rework at my side (since I am new to this driver).
May you please provide some guidelines/howto this regard?
FYI below is details about Kirkwood USB controller:
Kirkwood contains a Universal Serial Bus (USB 2.0) port that includes an embedded USB 2.0 PHY.
The USB 2.0 interface contains a single dual-role controller that can act as a host or a peripheral
controller (USB controller). A bridge connects the controller to the internal Mbus interface (USB
bridge).
Embedded USB 2.0 PHY features include:
?? 480 Mbps High Speed (HS)/ 12 Mbps Full Speed (FS) and 1.5 Mbps Low Speed (LS) serial data
transmission rates
?? Synchronization/End-of-Packet (SYNC/EOP) generation and checking
?? Data and clock recovery from serial stream on the USB
?? Non Return to Zero Invert (NRZI) encoding/decoding with bit stuffing/unstuffing
?? Bit stuff error detections
?? Bit stuffing/unstuffing; bit stuff error detection
?? Holding registers to stage transmit and receive data
?? Supports USB 2.0 Test Modes
?? Ability to switch between FS and HS terminations/signaling
?? For more details, refer to the controller specification document USB-HS High-Speed
Controller Core Reference.
Regards..
Prafulla . .
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] Boot from USB support for Kirkwood SOC
2009-06-10 9:53 [U-Boot] Boot from USB support for Kirkwood SOC Prafulla Wadaskar
@ 2009-06-11 7:20 ` xiangfu
2009-06-11 7:42 ` Prafulla Wadaskar
2009-06-11 8:01 ` Wolfgang Denk
0 siblings, 2 replies; 9+ messages in thread
From: xiangfu @ 2009-06-11 7:20 UTC (permalink / raw)
To: u-boot
Prafulla Wadaskar wrote:
> Dear Remy Bohmer
>
> I am going to start "boot from USB Support" development for kirkwood.
what this "boot from USB Support" means?
I know "boot from nand",
and I know that the Ingenic CPU, support "boot from USB". is the same meaning?
here is part of JZ4740 cpu data sheet [1]
--
3.7.3 BOOT
Jz4740 support 3 different boot sources depending on BOOT_SEL0 and BOOT_SEL1 pin values.
Table 3-29 lists them.
Table 3-29 Boot from 3 boot sources
BOOT_SEL1 BOOT_SEL0 Boot Source
0 0 Boot from NOR flash at CS4
0 1 Boot from USB device
1 0 Boot from 512 page NAND flash at CS1
1 1 Boot from 2k page NAND flash at CS1
--
[1] ftp://ftp.ingenic.cn/2soc/Jz4740_ds.pdf
> To sync with current USB framework in U-boot, and to reduce some rework at my side (since I am new to this driver).
> May you please provide some guidelines/howto this regard?
>
> FYI below is details about Kirkwood USB controller:
>
> Kirkwood contains a Universal Serial Bus (USB 2.0) port that includes an embedded USB 2.0 PHY.
> The USB 2.0 interface contains a single dual-role controller that can act as a host or a peripheral
> controller (USB controller). A bridge connects the controller to the internal Mbus interface (USB
> bridge).
> Embedded USB 2.0 PHY features include:
> ?? 480 Mbps High Speed (HS)/ 12 Mbps Full Speed (FS) and 1.5 Mbps Low Speed (LS) serial data
> transmission rates
> ?? Synchronization/End-of-Packet (SYNC/EOP) generation and checking
> ?? Data and clock recovery from serial stream on the USB
> ?? Non Return to Zero Invert (NRZI) encoding/decoding with bit stuffing/unstuffing
> ?? Bit stuff error detections
> ?? Bit stuffing/unstuffing; bit stuff error detection
> ?? Holding registers to stage transmit and receive data
> ?? Supports USB 2.0 Test Modes
> ?? Ability to switch between FS and HS terminations/signaling
> ?? For more details, refer to the controller specification document USB-HS High-Speed
> Controller Core Reference.
>
> Regards..
> Prafulla . .
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
--
Best Regards
Xiangfu Liu
jabber : xiangfu.z at gmail.com
skype : xiangfu.z
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] Boot from USB support for Kirkwood SOC
2009-06-11 7:20 ` xiangfu
@ 2009-06-11 7:42 ` Prafulla Wadaskar
2009-06-11 7:50 ` xiangfu
2009-06-11 8:01 ` Wolfgang Denk
1 sibling, 1 reply; 9+ messages in thread
From: Prafulla Wadaskar @ 2009-06-11 7:42 UTC (permalink / raw)
To: u-boot
> -----Original Message-----
> From: xiangfu [mailto:xiangfu.z at gmail.com]
> Sent: Thursday, June 11, 2009 12:50 PM
> To: Prafulla Wadaskar
> Cc: linux at bohmer.net; U-Boot
> Subject: Re: [U-Boot] Boot from USB support for Kirkwood SOC
>
> Prafulla Wadaskar wrote:
> > Dear Remy Bohmer
> >
> > I am going to start "boot from USB Support" development for
> kirkwood.
> what this "boot from USB Support" means?
Dear Xiangfu Liu
To my development "Boot from USB Support" means, fetching kernel and rfs binaries from the file system/partition on storage connected on USB interface.
There will be native u-boot on NAND or SPI flash that will bring up the system
In the auto boot sequence through h/w triggers on the board like pushbutton/reset key we can initiate bootcmd for "boot_from_USB"
For this I need to support h/w driver for Kirkwood and u-boot USB framework.
This is one of good standalone method to recover system using USB interface (similar to pxeboot)
in case of small embedded systems it would be very useful.
FYI: Kirkwood h/w supports Boot from SF/NANDF/SATA/PEX/UART but not USB :-) as you referenced for JZ4740
Regards..
Prafulla . .
>
> I know "boot from nand",
> and I know that the Ingenic CPU, support "boot from USB". is
> the same meaning?
>
> here is part of JZ4740 cpu data sheet [1]
> --
> 3.7.3 BOOT
> Jz4740 support 3 different boot sources depending on
> BOOT_SEL0 and BOOT_SEL1 pin values.
> Table 3-29 lists them.
> Table 3-29 Boot from 3 boot sources
>
> BOOT_SEL1 BOOT_SEL0 Boot Source
> 0 0 Boot from NOR flash at CS4
> 0 1 Boot from USB device
> 1 0 Boot from 512 page NAND flash at CS1
> 1 1 Boot from 2k page NAND flash at CS1
> --
>
> [1] ftp://ftp.ingenic.cn/2soc/Jz4740_ds.pdf
>
> > To sync with current USB framework in U-boot, and to reduce
> some rework at my side (since I am new to this driver).
> > May you please provide some guidelines/howto this regard?
> >
> > FYI below is details about Kirkwood USB controller:
> >
> > Kirkwood contains a Universal Serial Bus (USB 2.0) port
> that includes an embedded USB 2.0 PHY.
> > The USB 2.0 interface contains a single dual-role
> controller that can
> > act as a host or a peripheral controller (USB controller). A bridge
> > connects the controller to the internal Mbus interface (USB bridge).
> > Embedded USB 2.0 PHY features include:
> > ?? 480 Mbps High Speed (HS)/ 12 Mbps Full Speed (FS) and
> 1.5 Mbps Low
> > Speed (LS) serial data transmission rates ??
> > Synchronization/End-of-Packet (SYNC/EOP) generation and checking ??
> > Data and clock recovery from serial stream on the USB ??
> Non Return to
> > Zero Invert (NRZI) encoding/decoding with bit
> stuffing/unstuffing ??
> > Bit stuff error detections ?? Bit stuffing/unstuffing; bit
> stuff error
> > detection ?? Holding registers to stage transmit and
> receive data ??
> > Supports USB 2.0 Test Modes ?? Ability to switch between FS and HS
> > terminations/signaling ?? For more details, refer to the controller
> > specification document USB-HS High-Speed Controller Core Reference.
> >
> > Regards..
> > Prafulla . .
> > _______________________________________________
> > U-Boot mailing list
> > U-Boot at lists.denx.de
> > http://lists.denx.de/mailman/listinfo/u-boot
>
>
> --
> Best Regards
> Xiangfu Liu
>
> jabber : xiangfu.z at gmail.com
> skype : xiangfu.z
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] Boot from USB support for Kirkwood SOC
2009-06-11 7:42 ` Prafulla Wadaskar
@ 2009-06-11 7:50 ` xiangfu
0 siblings, 0 replies; 9+ messages in thread
From: xiangfu @ 2009-06-11 7:50 UTC (permalink / raw)
To: u-boot
Hi Prafulla Wadashar
Prafulla Wadaskar wrote:
>>>
>>> I am going to start "boot from USB Support" development for
>> kirkwood.
>> what this "boot from USB Support" means?
> Dear Xiangfu Liu
> To my development "Boot from USB Support" means, fetching kernel and rfs binaries from the file system/partition on storage connected on USB interface.
sounds good.
> There will be native u-boot on NAND or SPI flash that will bring up the system
> In the auto boot sequence through h/w triggers on the board like pushbutton/reset key we can initiate bootcmd for "boot_from_USB"
> For this I need to support h/w driver for Kirkwood and u-boot USB framework.
>
> This is one of good standalone method to recover system using USB interface (similar to pxeboot)
> in case of small embedded systems it would be very useful.
yes, agree.
>
> FYI: Kirkwood h/w supports Boot from SF/NANDF/SATA/PEX/UART but not USB :-) as you referenced for JZ4740
>
> Regards..
> Prafulla . .
>
>> I know "boot from nand",
>> and I know that the Ingenic CPU, support "boot from USB". is
>> the same meaning?
>>
>> here is part of JZ4740 cpu data sheet [1]
>> --
>> 3.7.3 BOOT
>> Jz4740 support 3 different boot sources depending on
>> BOOT_SEL0 and BOOT_SEL1 pin values.
>> Table 3-29 lists them.
>> Table 3-29 Boot from 3 boot sources
>>
>> BOOT_SEL1 BOOT_SEL0 Boot Source
>> 0 0 Boot from NOR flash at CS4
>> 0 1 Boot from USB device
>> 1 0 Boot from 512 page NAND flash at CS1
>> 1 1 Boot from 2k page NAND flash at CS1
>> --
>>
>> [1] ftp://ftp.ingenic.cn/2soc/Jz4740_ds.pdf
>>
--
Best Regards
Xiangfu Liu
jabber : xiangfu.z at gmail.com
skype : xiangfu.z
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] Boot from USB support for Kirkwood SOC
2009-06-11 7:20 ` xiangfu
2009-06-11 7:42 ` Prafulla Wadaskar
@ 2009-06-11 8:01 ` Wolfgang Denk
2009-06-11 8:10 ` xiangfu
2009-06-15 2:27 ` [U-Boot] MAKEALL, don't have other cross compile xiangfu
1 sibling, 2 replies; 9+ messages in thread
From: Wolfgang Denk @ 2009-06-11 8:01 UTC (permalink / raw)
To: u-boot
Dear xiangfu,
In message <4A30B020.7080109@gmail.com> you wrote:
>
> here is part of JZ4740 cpu data sheet [1]
> --
> 3.7.3 BOOT
> Jz4740 support 3 different boot sources depending on BOOT_SEL0 and BOOT_SEL1 pin values.
> Table 3-29 lists them.
> Table 3-29 Boot from 3 boot sources
>
> BOOT_SEL1 BOOT_SEL0 Boot Source
> 0 0 Boot from NOR flash at CS4
> 0 1 Boot from USB device
> 1 0 Boot from 512 page NAND flash at CS1
> 1 1 Boot from 2k page NAND flash at CS1
cool. "3 different boot sources" - one, two, three, four ;-)
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There's nothing disgusting about it [the Companion]. It's just
another life form, that's all. You get used to those things.
-- McCoy, "Metamorphosis", stardate 3219.8
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] Boot from USB support for Kirkwood SOC
2009-06-11 8:01 ` Wolfgang Denk
@ 2009-06-11 8:10 ` xiangfu
2009-06-15 2:27 ` [U-Boot] MAKEALL, don't have other cross compile xiangfu
1 sibling, 0 replies; 9+ messages in thread
From: xiangfu @ 2009-06-11 8:10 UTC (permalink / raw)
To: u-boot
Hi
Wolfgang Denk wrote:
> Dear xiangfu,
>
> In message <4A30B020.7080109@gmail.com> you wrote:
>> here is part of JZ4740 cpu data sheet [1]
>> --
>> 3.7.3 BOOT
>> Jz4740 support 3 different boot sources depending on BOOT_SEL0 and BOOT_SEL1 pin values.
>> Table 3-29 lists them.
>> Table 3-29 Boot from 3 boot sources
>>
>> BOOT_SEL1 BOOT_SEL0 Boot Source
>> 0 0 Boot from NOR flash at CS4
>> 0 1 Boot from USB device
>> 1 0 Boot from 512 page NAND flash at CS1
>> 1 1 Boot from 2k page NAND flash at CS1
>
> cool. "3 different boot sources" - one, two, three, four ;-)
:-) I don't notice that.
I think the guy who write this document think that
"512 page NAND" and "2k page NAND" are "NAND" ;-)
--
Best Regards
Xiangfu Liu
jabber : xiangfu.z at gmail.com
skype : xiangfu.z
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] MAKEALL, don't have other cross compile
2009-06-11 8:01 ` Wolfgang Denk
2009-06-11 8:10 ` xiangfu
@ 2009-06-15 2:27 ` xiangfu
2009-06-15 9:44 ` Wolfgang Denk
1 sibling, 1 reply; 9+ messages in thread
From: xiangfu @ 2009-06-15 2:27 UTC (permalink / raw)
To: u-boot
Hi
I have add a new board to u-boot. and try to run MAKEALL.
but I don't have other cross compiler. I only have mips cross compiler
how to deal with this?
--
Best Regards
Xiangfu Liu
jabber : xiangfu.z at gmail.com
skype : xiangfu.z
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] MAKEALL, don't have other cross compile
2009-06-15 2:27 ` [U-Boot] MAKEALL, don't have other cross compile xiangfu
@ 2009-06-15 9:44 ` Wolfgang Denk
2009-06-16 15:52 ` xiangfu
0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Denk @ 2009-06-15 9:44 UTC (permalink / raw)
To: u-boot
Dear xiangfu,
In message <4A35B1A5.3030704@gmail.com> you wrote:
>
> I have add a new board to u-boot. and try to run MAKEALL.
> but I don't have other cross compiler. I only have mips cross compiler
> how to deal with this?
How about downloading and installing one?? For example, ELDK is
available for PowerPC, ARM and MIPS, so it's fairly easy to cover at
least these three architectures.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"A little knowledge is a dangerous thing." - Doug Gwyn
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] MAKEALL, don't have other cross compile
2009-06-15 9:44 ` Wolfgang Denk
@ 2009-06-16 15:52 ` xiangfu
0 siblings, 0 replies; 9+ messages in thread
From: xiangfu @ 2009-06-16 15:52 UTC (permalink / raw)
To: u-boot
Wolfgang Denk wrote:
> Dear xiangfu,
>
> In message <4A35B1A5.3030704@gmail.com> you wrote:
>> I have add a new board to u-boot. and try to run MAKEALL.
>> but I don't have other cross compiler. I only have mips cross compiler
>> how to deal with this?
>
> How about downloading and installing one?? For example, ELDK is
> available for PowerPC, ARM and MIPS, so it's fairly easy to cover at
> least these three architectures.
>
> Best regards,
>
> Wolfgang Denk
>
Thanks Wolfgang. I will try to do that.
--
Best Regards
Xiangfu Liu
jabber : xiangfu.z at gmail.com
skype : xiangfu.z
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-06-16 15:52 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-10 9:53 [U-Boot] Boot from USB support for Kirkwood SOC Prafulla Wadaskar
2009-06-11 7:20 ` xiangfu
2009-06-11 7:42 ` Prafulla Wadaskar
2009-06-11 7:50 ` xiangfu
2009-06-11 8:01 ` Wolfgang Denk
2009-06-11 8:10 ` xiangfu
2009-06-15 2:27 ` [U-Boot] MAKEALL, don't have other cross compile xiangfu
2009-06-15 9:44 ` Wolfgang Denk
2009-06-16 15:52 ` xiangfu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox