* [U-Boot-Users] [PATCH] Fix USB support issue for MPC8641HPCN board. @ 2007-10-25 9:30 Zhang Wei 2007-10-31 9:21 ` Markus Klotzbücher 2007-11-03 21:15 ` Wolfgang Denk 0 siblings, 2 replies; 8+ messages in thread From: Zhang Wei @ 2007-10-25 9:30 UTC (permalink / raw) To: u-boot The configuration file has already enabled USB, but it missed definition of CFG_OHCI_SWAP_REG_ACCESS, the USB on MPC8641HPCN can not work because of the wrong USB register endian. And add the USB command to U-Boot commands list. Signed-off-by: Zhang Wei <wei.zhang@freescale.com> --- include/configs/MPC8641HPCN.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h index 7d8a380..aa6dbc4 100644 --- a/include/configs/MPC8641HPCN.h +++ b/include/configs/MPC8641HPCN.h @@ -346,6 +346,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy); #define CFG_USB_EVENT_POLL 1 #define CFG_USB_OHCI_SLOT_NAME "ohci_pci" #define CFG_USB_OHCI_MAX_ROOT_PORTS 15 +#define CFG_OHCI_SWAP_REG_ACCESS 1 #if !defined(CONFIG_PCI_PNP) #define PCI_ENET0_IOADDR 0xe0000000 @@ -544,6 +545,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy); #define CONFIG_CMD_PCI #define CONFIG_CMD_SCSI #define CONFIG_CMD_EXT2 + #define CONFIG_CMD_USB #endif -- 1.5.2 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [U-Boot-Users] [PATCH] Fix USB support issue for MPC8641HPCN board. 2007-10-25 9:30 [U-Boot-Users] [PATCH] Fix USB support issue for MPC8641HPCN board Zhang Wei @ 2007-10-31 9:21 ` Markus Klotzbücher 2007-10-31 10:20 ` Wolfgang Denk 2007-11-03 21:15 ` Wolfgang Denk 1 sibling, 1 reply; 8+ messages in thread From: Markus Klotzbücher @ 2007-10-31 9:21 UTC (permalink / raw) To: u-boot Hi, Zhang Wei <wei.zhang@freescale.com> writes: > The configuration file has already enabled USB, but it > missed definition of CFG_OHCI_SWAP_REG_ACCESS, the USB > on MPC8641HPCN can not work because of the wrong USB > register endian. > > And add the USB command to U-Boot commands list. > > Signed-off-by: Zhang Wei <wei.zhang@freescale.com> Who will take care of this patch? I think patches to board configs generally should be taken care of board / architecture, not subsystem maintainers. That path is less prone of causing conflicts. Best regards Markus Klotzb?cher -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] [PATCH] Fix USB support issue for MPC8641HPCN board. 2007-10-31 9:21 ` Markus Klotzbücher @ 2007-10-31 10:20 ` Wolfgang Denk 2007-10-31 15:29 ` Jon Loeliger 0 siblings, 1 reply; 8+ messages in thread From: Wolfgang Denk @ 2007-10-31 10:20 UTC (permalink / raw) To: u-boot In message <87pryv63m3.fsf@denx.de> you wrote: > > > The configuration file has already enabled USB, but it > > missed definition of CFG_OHCI_SWAP_REG_ACCESS, the USB > > on MPC8641HPCN can not work because of the wrong USB > > register endian. > > > > And add the USB command to U-Boot commands list. > > > > Signed-off-by: Zhang Wei <wei.zhang@freescale.com> > > Who will take care of this patch? I think patches to board configs > generally should be taken care of board / architecture, not subsystem > maintainers. That path is less prone of causing conflicts. Correct. This should go through the 86xx repo. 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 In general, they do what you want, unless you want consistency. - Larry Wall in the perl man page ^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] [PATCH] Fix USB support issue for MPC8641HPCN board. 2007-10-31 10:20 ` Wolfgang Denk @ 2007-10-31 15:29 ` Jon Loeliger 2007-10-31 17:13 ` Jerry Van Baren 2007-11-03 21:50 ` Wolfgang Denk 0 siblings, 2 replies; 8+ messages in thread From: Jon Loeliger @ 2007-10-31 15:29 UTC (permalink / raw) To: u-boot On Wed, 2007-10-31 at 05:20, Wolfgang Denk wrote: > In message <87pryv63m3.fsf@denx.de> you wrote: > > > > > The configuration file has already enabled USB, but it > > > missed definition of CFG_OHCI_SWAP_REG_ACCESS, the USB > > > on MPC8641HPCN can not work because of the wrong USB > > > register endian. > > > > > > And add the USB command to U-Boot commands list. > > > > > > Signed-off-by: Zhang Wei <wei.zhang@freescale.com> > > > > Who will take care of this patch? I think patches to board configs > > generally should be taken care of board / architecture, not subsystem > > maintainers. That path is less prone of causing conflicts. > > Correct. This should go through the 86xx repo. Right. This patch is mine. Wolfgang, procedural question for you, though. I have already applied patches for the new MPC8610HPCD board port to the -mpc86xx custodian repository's master branch. My original notion was to wait until the next merge window after 1.3.0 to have you pull these three patches. However, there are several more bug-fix patches that need to go through the -mpc86xx repository now too. How would you like to handle this? I see a few viable options: 1) I can just apply bug fixes to -mpc86xx master as well, have you pull it, and pick up the new 8610 port anyway. 2) Apply the bug fixes to a different branch in -mpc86xx and ask you to pull that specific branch. 3) Just ACK patches on list and have you apply them one-at-a-time "by hand" directly, 4) Uh, something else...? Thanks, jdl ^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] [PATCH] Fix USB support issue for MPC8641HPCN board. 2007-10-31 15:29 ` Jon Loeliger @ 2007-10-31 17:13 ` Jerry Van Baren 2007-11-03 21:50 ` Wolfgang Denk 1 sibling, 0 replies; 8+ messages in thread From: Jerry Van Baren @ 2007-10-31 17:13 UTC (permalink / raw) To: u-boot Jon Loeliger wrote: > On Wed, 2007-10-31 at 05:20, Wolfgang Denk wrote: >> In message <87pryv63m3.fsf@denx.de> you wrote: >>>> The configuration file has already enabled USB, but it >>>> missed definition of CFG_OHCI_SWAP_REG_ACCESS, the USB >>>> on MPC8641HPCN can not work because of the wrong USB >>>> register endian. >>>> >>>> And add the USB command to U-Boot commands list. >>>> >>>> Signed-off-by: Zhang Wei <wei.zhang@freescale.com> >>> Who will take care of this patch? I think patches to board configs >>> generally should be taken care of board / architecture, not subsystem >>> maintainers. That path is less prone of causing conflicts. >> Correct. This should go through the 86xx repo. > > Right. This patch is mine. > > Wolfgang, procedural question for you, though. > > I have already applied patches for the new MPC8610HPCD > board port to the -mpc86xx custodian repository's master > branch. My original notion was to wait until the next > merge window after 1.3.0 to have you pull these three > patches. > > However, there are several more bug-fix patches that > need to go through the -mpc86xx repository now too. > > How would you like to handle this? I see a few viable > options: > > 1) I can just apply bug fixes to -mpc86xx master as well, > have you pull it, and pick up the new 8610 port anyway. > > 2) Apply the bug fixes to a different branch in -mpc86xx > and ask you to pull that specific branch. > > 3) Just ACK patches on list and have you apply them > one-at-a-time "by hand" directly, > > 4) Uh, something else...? > > Thanks, > jdl Yeah, that is one reason I have been advocating a "for Wolfgang" (merge) branch and keeping the master branch a clean to track u-boot.git. Not necessarily the best way, but the best way I know how... On option 4, you could clone your master branch into a "for the next merge window" (testing?) branch to preserve your patches, reset --hard your master back to match the current u-boot.git revision level, and then apply the bug fixes to the master (or a "merge" branch if you think this might happen again ;-). You will probably have to --force pushes back to denx.de and if someone has cloned your -86xx repo, this will probably mess him up (not irreparably, but still annoying). :-( With this method, you can keep rebasing your "for the next merge window" against your master branch (updated from u-boot.git) to keep it surfing ahead of the wave. --- Wolfgang has (strongly) expressed his preference for pulling from the "master" branch, any my advocation of a "merge" branch doesn't work this way. An alternative methodology that I have not tried yet, but seems logical, is to have a "sync" branch that the custodian uses to pull u-boot.git into and then rebase the "master" branch against it to keep it surfing ahead of u-boot.git. This should work and keep Wolfgang happier at the same time. Note that the "sync" branch does not need to be pushed back to the denx.de custodian repository. clone u-boot.git <--- u-boot.git | | v | master | |\ branch PatchA | ------ sync | | | PatchB Patch1 | | | | pull /| Patch2 | ---------- : | |/ : | PatchA | | | PatchB | | | rebase /| | ------- : |/ : PatchA | PatchB | Patch1 | Patch2 : : Looks reasonable in ASCII-art. Thoughts? gvb ^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] [PATCH] Fix USB support issue for MPC8641HPCN board. 2007-10-31 15:29 ` Jon Loeliger 2007-10-31 17:13 ` Jerry Van Baren @ 2007-11-03 21:50 ` Wolfgang Denk 2007-11-05 14:58 ` Jon Loeliger 1 sibling, 1 reply; 8+ messages in thread From: Wolfgang Denk @ 2007-11-03 21:50 UTC (permalink / raw) To: u-boot In message <1193844542.24526.8.camel@ld0161-tx32> you wrote: > > > > Who will take care of this patch? I think patches to board configs > > > generally should be taken care of board / architecture, not subsystem > > > maintainers. That path is less prone of causing conflicts. > > > > Correct. This should go through the 86xx repo. > > Right. This patch is mine. Sorry, I already took this directly. Hope you don't mind me stepping on your toes. 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 Niklaus Wirth has lamented that, whereas Europeans pronounce his name correctly (Ni-klows Virt), Americans invariably mangle it into (Nick- les Worth). Which is to say that Europeans call him by name, but Americans call him by value. ^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] [PATCH] Fix USB support issue for MPC8641HPCN board. 2007-11-03 21:50 ` Wolfgang Denk @ 2007-11-05 14:58 ` Jon Loeliger 0 siblings, 0 replies; 8+ messages in thread From: Jon Loeliger @ 2007-11-05 14:58 UTC (permalink / raw) To: u-boot Wolfgang Denk wrote: > In message <1193844542.24526.8.camel@ld0161-tx32> you wrote: >>>> Who will take care of this patch? I think patches to board configs >>>> generally should be taken care of board / architecture, not subsystem >>>> maintainers. That path is less prone of causing conflicts. >>> Correct. This should go through the 86xx repo. >> Right. This patch is mine. > > Sorry, I already took this directly. Hope you don't mind me stepping > on your toes. No problem! jdl ^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] [PATCH] Fix USB support issue for MPC8641HPCN board. 2007-10-25 9:30 [U-Boot-Users] [PATCH] Fix USB support issue for MPC8641HPCN board Zhang Wei 2007-10-31 9:21 ` Markus Klotzbücher @ 2007-11-03 21:15 ` Wolfgang Denk 1 sibling, 0 replies; 8+ messages in thread From: Wolfgang Denk @ 2007-11-03 21:15 UTC (permalink / raw) To: u-boot In message <1193304604514-git-send-email-wei.zhang@freescale.com> you wrote: > The configuration file has already enabled USB, but it > missed definition of CFG_OHCI_SWAP_REG_ACCESS, the USB > on MPC8641HPCN can not work because of the wrong USB > register endian. > > And add the USB command to U-Boot commands list. > > Signed-off-by: Zhang Wei <wei.zhang@freescale.com> Applied, thanks. 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 He is truly wise who gains wisdom from another's mishap. ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-11-05 14:58 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-10-25 9:30 [U-Boot-Users] [PATCH] Fix USB support issue for MPC8641HPCN board Zhang Wei 2007-10-31 9:21 ` Markus Klotzbücher 2007-10-31 10:20 ` Wolfgang Denk 2007-10-31 15:29 ` Jon Loeliger 2007-10-31 17:13 ` Jerry Van Baren 2007-11-03 21:50 ` Wolfgang Denk 2007-11-05 14:58 ` Jon Loeliger 2007-11-03 21:15 ` Wolfgang Denk
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox