On 8/13/19 1:12 PM, Tom Rini wrote:
On Tue, Aug 13, 2019 at 11:53:59AM +0200, Marek Vasut wrote:
On 8/13/19 11:34 AM, Simon Glass wrote:
On Fri, 9 Aug 2019 at 12:39, Heinrich Schuchardt wrote:
The time lines set force in doc/driver-model/migration.rst for different
subsystems to move to the
On 12.06.2014 14:58, Marek Vasut wrote:
On Thursday, June 12, 2014 at 12:46:53 AM, Lukasz Dalek wrote:
Signed-off-by: Lukasz Dalek luk0...@gmail.com
A commit message would be nice.
btw. do you think this would work on other PXA boards ?
No idea.
Best regards,
Marek Vasut
Lukasz D.
On 13.05.2013 12:23, Vivek Gautam wrote:
Use get_unaligned() while fetching wMaxPacketSize to avoid
voilating any alignment rules.
Signed-off-by: Vivek Gautam gautam.vi...@samsung.com
Cc: Lukasz Majewski l.majew...@samsung.com
Cc: Piotr Wilczek p.wilc...@samsung.com
Cc: Kyungmin Park
have __attribute__((weak)) so if I would try to
implement it
compiler will return with error.
Yours sincerely,
Łukasz Dałek
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
#includelinux/usb/gadget.h
#includeusb/lin_gadget_compat.h
Best regards,
Marek Vasut
One more question. I've send you before patch which enables
support for USB in h2200 device, which you accepted but
didn't push. Did you find more problem out there or just forgot to
apply?
Łukasz Dałek
as PXA custodian and serial patcher...
Łukasz, can you have a look at why h2200 above u-boot/next fails to
build, and can you quickly provide a new patch version to fix it?
Amicalement,
Yes, I will prepare patch soon.
Łukasz Dałek
___
U-Boot mailing list
On 03.10.2012 03:04, Marek Vasut wrote:
Dear Łukasz Dałek,
On 03.10.2012 02:25, Marek Vasut wrote:
Dear Łukasz Dałek,
On 03.10.2012 02:18, Marek Vasut wrote:
Dear Łukasz Dałek,
On 03.10.2012 02:06, Marek Vasut wrote:
Dear Lukasz Dalek,
Add support for ethernet over USB which can
\
+ stdin=serial\0 \
+ stdout=serial\0 \
+ stderr=serial\0
+#endif
+
#endif /* __CONFIG_H */
Why do I have to remove CONFIG_H2200_USBETH? If I do so, I'm not be able to
disable USB ethernet support.
Łukasz Dałek
___
U-Boot mailing list
U
On 03.10.2012 21:22, Marek Vasut wrote:
Dear Łukasz Dałek,
On 03.10.2012 20:34, Marek Vasut wrote:
Dear Lukasz Dalek,
Add support for ethernet over USB which can be used for e.g. booting
process. It works with tftp and dhcp clients code.
Signed-off-by: Lukasz Dalekluk0...@gmail.com
On 03.10.2012 22:02, Marek Vasut wrote:
Dear Łukasz Dałek,
On 03.10.2012 21:40, Marek Vasut wrote:
Dear Łukasz Dałek,
[...]
Why do I have to remove CONFIG_H2200_USBETH? If I do so, I'm not be
able to disable USB ethernet support.
Why would you disable it?
Because of other gadgets, e.g
they changed?
Nothing changed except patch 7/8 where I only added nicer comment
Łukasz Dałek
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
, not the BUILD_DIR, which is wrong of course.
Can you recommend board which has proper Makefile?
Łukasz Dałek
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
?
No. I'll fix this.
Łukasz Dałek
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
support for usb ethernet for
h2200.
Łukasz Dałek
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On 03.10.2012 02:18, Marek Vasut wrote:
Dear Łukasz Dałek,
On 03.10.2012 02:06, Marek Vasut wrote:
Dear Lukasz Dalek,
Add support for ethernet over USB which can be used for e.g. booting
process. It works with tftp and dhcp clients code.
Signed-off-by: Lukasz Dalekluk0...@gmail.com
On 03.10.2012 02:25, Marek Vasut wrote:
Dear Łukasz Dałek,
On 03.10.2012 02:18, Marek Vasut wrote:
Dear Łukasz Dałek,
On 03.10.2012 02:06, Marek Vasut wrote:
Dear Lukasz Dalek,
Add support for ethernet over USB which can be used for e.g. booting
process. It works with tftp and dhcp
pxa
+h2200_usbeth arm pxa h2200 -
Can you not enable USB ethernet by default?
[...]
I don't understand.
make h2200_config creates config without usb ethernet
make h2200_usbeth_config creates config with usb ethernet
Łukasz Dałek
On 26.09.2012 18:13, Marek Vasut wrote:
Dear Łukasz Dałek,
On 26.09.2012 17:29, Marek Vasut wrote:
Dear Lukasz Dalek,
Basic support of HP iPAQ h2200 palmtop. Support includes also USB
ethernet gadget.
Two minor nits ... can you extend the patch description?
Signed-off-by: Lukasz
On 27.09.2012 01:32, Marek Vasut wrote:
Dear Łukasz Dałek,
On 26.09.2012 18:13, Marek Vasut wrote:
Dear Łukasz Dałek,
On 26.09.2012 17:29, Marek Vasut wrote:
Dear Lukasz Dalek,
Basic support of HP iPAQ h2200 palmtop. Support includes also USB
ethernet gadget.
Two minor nits ... can you
if it was meaningful ...
like pxa25x can only do gadget mode, thus the following ... etc. Otherwise,
we're basically there.
Ok
Can you repost the whole patchset please?
Whole? Including ethernet driver, pxa cpu detection etc...?
If so, I'll resend them.
Łukasz Dałek
On 27.09.2012 01:58, Marek Vasut wrote:
Dear Łukasz Dałek,
On 27.09.2012 01:32, Marek Vasut wrote:
Dear Łukasz Dałek,
On 26.09.2012 18:13, Marek Vasut wrote:
Dear Łukasz Dałek,
On 26.09.2012 17:29, Marek Vasut wrote:
Dear Lukasz Dalek,
Basic support of HP iPAQ h2200 palmtop. Support
On 27.09.2012 01:58, Marek Vasut wrote:
Dear Łukasz Dałek,
On 26.09.2012 17:31, Marek Vasut wrote:
Dear Lukasz Dalek,
PXA25x gadget implements common function usb_disconnect().
This patch adds this function prototype into usb.h for boards using it.
[...]
+/*
+ * This isn't host
On 27.09.2012 02:07, Marek Vasut wrote:
Dear Łukasz Dałek,
On 27.09.2012 01:58, Marek Vasut wrote:
Dear Łukasz Dałek,
On 27.09.2012 01:32, Marek Vasut wrote:
Dear Łukasz Dałek,
On 26.09.2012 18:13, Marek Vasut wrote:
Dear Łukasz Dałek,
On 26.09.2012 17:29, Marek Vasut wrote:
Dear
On 27.09.2012 02:06, Marek Vasut wrote:
Dear Łukasz Dałek,
On 27.09.2012 01:58, Marek Vasut wrote:
Dear Łukasz Dałek,
On 26.09.2012 17:31, Marek Vasut wrote:
Dear Lukasz Dalek,
PXA25x gadget implements common function usb_disconnect().
This patch adds this function prototype into usb.h
On 27.09.2012 02:30, Marek Vasut wrote:
Dear Łukasz Dałek,
On 27.09.2012 02:06, Marek Vasut wrote:
Dear Łukasz Dałek,
On 27.09.2012 01:58, Marek Vasut wrote:
Dear Łukasz Dałek,
On 26.09.2012 17:31, Marek Vasut wrote:
Dear Lukasz Dalek,
PXA25x gadget implements common function
On 27.09.2012 02:31, Marek Vasut wrote:
Dear Łukasz Dałek,
On 27.09.2012 02:07, Marek Vasut wrote:
Dear Łukasz Dałek,
On 27.09.2012 01:58, Marek Vasut wrote:
Dear Łukasz Dałek,
On 27.09.2012 01:32, Marek Vasut wrote:
Dear Łukasz Dałek,
On 26.09.2012 18:13, Marek Vasut wrote:
Dear
? Or is it a repost?
Best regards,
Marek Vasut
Everything was fine except DEBUG_NOISY defintions. I fixed them and
I have resend patch.
Can I ask what about patches 3,4,5,6?
Łukasz Dałek
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman
On 23.09.2012 20:24, Marek Vasut wrote:
Dear Łukasz Dałek,
On 23.09.2012 17:44, Marek Vasut wrote:
Dear Lukasz Dalek,
Add to pxa25x based devices support for USB ethernet gadget. This is a
port of pxa25x UDC driver from Linux kernel.
Signed-off-by: Lukasz Dalekluk0...@gmail.com
this declaration into h2200.c?
Łukasz Dałek
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On 23.09.2012 21:31, Marek Vasut wrote:
Dear Łukasz Dałek,
On 23.09.2012 17:43, Marek Vasut wrote:
+ gd-ram_size = CONFIG_SYS_SDRAM_SIZE;
+ return 0;
+}
diff --git a/board/h2200/h2200.h b/board/h2200/h2200.h
new file mode 100644
Do you need this file at all? Can
On 23.09.2012 21:32, Marek Vasut wrote:
Dear Łukasz Dałek,
On 23.09.2012 20:24, Marek Vasut wrote:
Dear Łukasz Dałek,
On 23.09.2012 17:44, Marek Vasut wrote:
Dear Lukasz Dalek,
Add to pxa25x based devices support for USB ethernet gadget. This is a
port of pxa25x UDC driver from Linux
On 23.09.2012 22:05, Marek Vasut wrote:
Dear Łukasz Dałek,
On 23.09.2012 21:31, Marek Vasut wrote:
Dear Łukasz Dałek,
On 23.09.2012 17:43, Marek Vasut wrote:
+ gd-ram_size = CONFIG_SYS_SDRAM_SIZE;
+ return 0;
+}
diff --git a/board/h2200/h2200.h b/board/h2200/h2200.h
new file
On 23.09.2012 22:52, Marek Vasut wrote:
Dear Łukasz Dałek,
On 23.09.2012 22:05, Marek Vasut wrote:
Dear Łukasz Dałek,
On 23.09.2012 21:31, Marek Vasut wrote:
Dear Łukasz Dałek,
On 23.09.2012 17:43, Marek Vasut wrote:
+ gd-ram_size = CONFIG_SYS_SDRAM_SIZE;
+ return 0;
+}
diff
On 23.09.2012 23:04, Marek Vasut wrote:
Dear Łukasz Dałek,
On 23.09.2012 22:52, Marek Vasut wrote:
Dear Łukasz Dałek,
On 23.09.2012 22:05, Marek Vasut wrote:
Dear Łukasz Dałek,
On 23.09.2012 21:31, Marek Vasut wrote:
Dear Łukasz Dałek,
On 23.09.2012 17:43, Marek Vasut wrote
On 23.09.2012 23:31, Marek Vasut wrote:
Dear Łukasz Dałek,
On 23.09.2012 23:04, Marek Vasut wrote:
PXA2xx is OHCI host with one OTG port.
From pxa255 documentation:
The UDC supports 16 endpoints and can operate half-duplex at a rate of
12 Mbps (as a slave only,
not as a host or hub
On 24.09.2012 01:05, Marek Vasut wrote:
Dear Łukasz Dałek,
On 23.09.2012 23:31, Marek Vasut wrote:
Dear Łukasz Dałek,
On 23.09.2012 23:04, Marek Vasut wrote:
PXA2xx is OHCI host with one OTG port.
From pxa255 documentation:
The UDC supports 16 endpoints and can operate half-duplex
On 24.09.2012 01:25, Marek Vasut wrote:
Dear Łukasz Dałek,
On 24.09.2012 01:05, Marek Vasut wrote:
Dear Łukasz Dałek,
On 23.09.2012 23:31, Marek Vasut wrote:
Dear Łukasz Dałek,
On 23.09.2012 23:04, Marek Vasut wrote:
PXA2xx is OHCI host with one OTG port.
From pxa255
addresses? By EXTRA_ENV_SETTINGS?
Łukasz Dałek
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On 22.09.2012 19:04, Marek Vasut wrote:
Dear Łukasz Dałek,
On 19.09.2012 23:02, Marek Vasut wrote:
and at the offset
+ * 0x40 ascii characters 'ECEC', secondly 1st stage
+ * loads code from flash into SDRAM at address 0xa004
+ * so all instructions which reinitializes memory
On 22.09.2012 20:00, Marek Vasut wrote:
Dear Łukasz Dałek,
On 22.09.2012 19:04, Marek Vasut wrote:
Dear Łukasz Dałek,
On 19.09.2012 23:02, Marek Vasut wrote:
and at the offset
+ * 0x40 ascii characters 'ECEC', secondly 1st stage
+ * loads code from flash into SDRAM at address 0xa004
don't do that.
Do what? Don't call modified pxa2xx_dram_init?
What exactly do you need to do ? What registers do you need to set ? How come
the bootloader kick dram in, but won't configure MSC ?
Split out the MSC config and memory config maybe ?
Ok, I will rewrite that.
Łukasz Dałek
On 22.09.2012 20:37, Marek Vasut wrote:
Dear Łukasz Dałek,
On 22.09.2012 20:21, Marek Vasut wrote:
+{
+ writel(val, addr);
+ asm volatile( : : : memory);
+ readl(addr);
+ asm volatile( : : : memory);
+}
+
+static void h2200_pxa2xx_dram_init(void)
Why do you duplicate
it again.
Łukasz Dałek (6):
h2200: Add support for iPAQ h2200
pxa25x: Add USB Ethernet driver
pxa: Add some stuff to examine cpu model and rev
usbether: Fixed bug when using with PXA25X chips
usbether: Define CONFIG_USB_ETH_{CDC,SUBSET}
usbether: Removed DEV_CONFIG_{CDC,SUBSET}
arch
Signed-off-by: Łukasz Dałek luk0...@gmail.com
---
arch/arm/include/asm/mach-types.h |1 +
board/h2200/Makefile | 51 ++
board/h2200/h2200-header.S| 27 +
board/h2200/h2200.c | 197 +
board/h2200/h2200.h
Signed-off-by: Łukasz Dałek luk0...@gmail.com
---
arch/arm/cpu/pxa/cpuinfo.c | 11 +--
arch/arm/include/asm/arch-pxa/pxa.h | 13 +
2 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/arch/arm/cpu/pxa/cpuinfo.c b/arch/arm/cpu/pxa/cpuinfo.c
index f1cdd40
PXA25X chips don't support alternate settings so driver uses non-CDC
driver.
But only code defined between DEV_CONFIG_CDC signals that network is up.
This patch is fixing this bug by signaling that network is up after USB
SET_INTERFACE request.
Signed-off-by: Łukasz Dałek luk0...@gmail.com
Introduced CONFIG_USB_ETH_CDC and CONFIG_USB_ETH_SUBSET as preparation
for removal DEV_CONFIG_CDC and DEV_CONFIG_SUBSET
Signed-off-by: Łukasz Dałek luk0...@gmail.com
---
drivers/usb/gadget/ether.c | 19 ++-
1 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/drivers
Removed DEV_CONFIG_CDC and DEV_CONFIG_SUBSET and replaced it with
CONFIG_USB_ETH_CDC and CONFIG_USB_ETH_SUBSET.
Signed-off-by: Łukasz Dałek luk0...@gmail.com
---
drivers/usb/gadget/ether.c | 75 +--
1 files changed, 30 insertions(+), 45 deletions
(arm instruction b 0x1000)
GCC/GAS won't generate it so you use .word ?
No. GCC generates sth else than 0xea0003fe.
Try b 0x9098 ... is that it ?
Yes, GCC/GAS generate 0xeafe (b 0x9098).
Can you tell me why? Can I left .word?
Łukasz Dałek
___
U
to fix it (without .word).
Łukasz Dałek
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On 20.09.2012 00:42, Marek Vasut wrote:
Dear Łukasz Dałek,
On 20.09.2012 00:01, Marek Vasut wrote:
Yes, GCC/GAS generate 0xeafe (b 0x9098).
Can you tell me why? Can I left .word?
Why is the jump offset 0x9098 ?
I figured out that 0xeafe is a loop (b -4)
ldr pc, pc, #-4
but I
question: I asked in cover letter question about tools. Can I add
them in h2200 directory or should I put them somwhere else?
I didn't receive the cover letter.
Weird, I sent it with patches. With your address in CC field.
Btw. Did you got all 6 patches?
Łukasz Dałek
On 20.09.2012 01:09, Marek Vasut wrote:
Dear Łukasz Dałek,
On 20.09.2012 00:56, Marek Vasut wrote:
That's why I use directive .word 0xea0003fe
Check some arm instruction quick ref for what 0xea0003fe really is and if
it really is necessary or anything else work just fine as well.
0xea0003fe
On 20.09.2012 01:25, Marek Vasut wrote:
Dear Łukasz Dałek,
On 20.09.2012 01:09, Marek Vasut wrote:
Dear Łukasz Dałek,
On 20.09.2012 00:56, Marek Vasut wrote:
That's why I use directive .word 0xea0003fe
Check some arm instruction quick ref for what 0xea0003fe really is and
if it really
to 16bytes. Really weird and buggy
thing.
Łukasz Dałek
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On 30.08.2012 21:09, Marek Vasut wrote:
Dear Łukasz Dałek,
I've moved cpu revision detection to arch/arm/cpu/pxa as you suggest.
Cleaned ethernet driver. Soon I would also send patches for
drivers/usb/gadget/ether.c to work correctly with this pxa driver.
Łukasz Dałek (2):
pxa: Add some
On 31.08.2012 00:04, Marek Vasut wrote:
Dear Łukasz Dałek,
On 30.08.2012 21:09, Marek Vasut wrote:
Dear Łukasz Dałek,
I've moved cpu revision detection to arch/arm/cpu/pxa as you suggest.
Cleaned ethernet driver. Soon I would also send patches for
drivers/usb/gadget/ether.c to work
I've moved cpu revision detection to arch/arm/cpu/pxa as you suggest.
Cleaned ethernet driver. Soon I would also send patches for
drivers/usb/gadget/ether.c to work correctly with this pxa driver.
Łukasz Dałek (2):
pxa: Add some stuff to examine cpu model and rev
pxa25x: Add USB ethernet
Signed-off-by: Łukasz Dałek luk0...@gmail.com
---
arch/arm/cpu/pxa/cpuinfo.c | 11 +--
arch/arm/include/asm/arch-pxa/pxa.h | 13 +
2 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/arch/arm/cpu/pxa/cpuinfo.c b/arch/arm/cpu/pxa/cpuinfo.c
index f1cdd40
Signed-off-by: Łukasz Dałek luk0...@gmail.com
---
arch/arm/include/asm/arch-pxa/regs-usb.h | 160 ++
1 files changed, 160 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/include/asm/arch-pxa/regs-usb.h
diff --git a/arch/arm/include/asm/arch-pxa/regs-usb.h
other
chips.
Signed-off-by: Łukasz Dałek luk0...@gmail.com
---
drivers/usb/gadget/ether.c | 21 -
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
index d975fb6..964fe2e 100644
--- a/drivers/usb/gadget/ether.c
Signed-off-by: Łukasz Dałek luk0...@gmail.com
---
arch/arm/include/asm/arch-pxa/regs-usb.h | 174 ++
1 files changed, 174 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/include/asm/arch-pxa/regs-usb.h
diff --git a/arch/arm/include/asm/arch-pxa/regs-usb.h
On 17.08.2012 22:57, Marek Vasut wrote:
+ /* let loose that packet. maybe try writing another one,
Wrong comment , fix globally ... doens't checkpatch catch those?
no
+* double buffering might work. TSP, TPC, and TFS
+* bit values are the same for all normal
On 17.08.2012 22:50, Marek Vasut wrote:
Dear Łukasz Dałek,
+ /* UDC Endpoint Control/Status Registers */
+ uint32_tudccs0; /* 0x010 */
+ uint32_tudccs1; /* 0x014 */
+ uint32_tudccs2; /* 0x018 */
+ uint32_tudccs3; /* 0x01c
On 17.08.2012 22:48, Marek Vasut wrote:
Dear Łukasz Dałek,
PXA25X chips don't support alternate settings so code in ether.c
disables usage of CDC.
But only code defined between DEV_CONFIG_CDC signals that network is up.
This patch is fixing this bug by addding pxa_connect_gadget() which
This patch starts series of patches adding support for USB support on
PXA255 chips.
Signed-off-by: Łukasz Dałek luk0...@gmail.com
---
arch/arm/include/asm/arch-pxa/pxa-regs.h | 247 ++
1 files changed, 247 insertions(+), 0 deletions(-)
diff --git a/arch/arm/include
Compile USB ttyACM and Ethernet drivers on pxa255.
Signed-off-by: Łukasz Dałek luk0...@gmail.com
---
drivers/usb/gadget/Makefile |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile
index 87d1918..7307595 100644
Signed-off-by: Łukasz Dałek luk0...@gmail.com
---
drivers/serial/usbtty.h |2 +
drivers/usb/gadget/pxa25x_udc.c | 939 +++
include/usb/pxa25x_udc.h| 65 +++
3 files changed, 1006 insertions(+), 0 deletions(-)
create mode 100644 drivers
other
chips.
Signed-off-by: Łukasz Dałek luk0...@gmail.com
---
drivers/usb/gadget/ether.c | 21 -
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
index d975fb6..964fe2e 100644
--- a/drivers/usb/gadget/ether.c
69 matches
Mail list logo