[U-Boot] Strange behavior in U-boot fatload command for SD/MMC card

2012-10-02 Thread victor
load is hit, but do_fat_load is not. And the "invalid boot device" is not printed. And it goes to mmc_init. What mistake that I've made? Thanks. KA2000# fatload mmc 0 2e00 u-boot.bin do_fat_load 1 drivers/mmc mmc_init KA Boot 04240806 Status 20

[U-Boot] mmc Status Error: 0x01FBB4D0

2012-10-02 Thread victor
Hi All. I change legacy sd/mmc driver to generic mmc structure, then I run the u-boot "mmc rescan" command. All looks fine except the: status reg 0x8c00 0x0 resp1_reg 0x0 Status Error: 0x01FBB4D8 Please help me on the meaning of the status error in mmc.c code. Than

[U-Boot] USB gadget driver

2012-10-29 Thread victor
Hi All, I am porting the USB gadget driver to a new hardware. Problems I encounter: 1) In bulk_out_complete, the bh->state is set to BUF_STATE_FULL, then after sleep_thread of the "wait for CBW to arrive", it becomes BUF_STATE_BUSY. Please hel

[U-Boot] generic mmc bug in reading sd card capacity

2012-11-02 Thread victor
Hi All, Accord to SD spec 2.0, the formula to find out sd card capacity is: memory capacity = (C_SIZE+1) * 512K byte and C_SIZE is from CSD [69:48] Thus, the code in generic mmc is wrong for the high capacity sd card. My patch is below. Thanks, victor --- mmc.c 2012-10-09 02

Re: [U-Boot] USB mass storage gadget patch

2012-11-02 Thread victor
>> I attach the file for your reference. Please kindly advise me. Thanks. The changes of file_storage.c: --- file_storage.c 2012-11-02 18:27:41.072702402 +0800 +++ file_storage.orig.c 2012-11-02 19:36:37.992528292 +0800 @@ -746,10 +745,6 @@ struct fsg_dev *fsg = ep->driver_

Re: [U-Boot] USB mass storage gadget patch

2012-11-04 Thread victor
data from EP1 out, one data is missed. I can send the full source code to you if it is helpful. Thanks. Regards, Victor CONFIDENTIALITY NOTE: This e-mail and any attachments may contain confidenti

Re: [U-Boot] USB mass storage gadget patch

2012-11-04 Thread victor
== debug statement from console == 0x43425355 0x507bc10 0x18 0x1506 0x1810 0x0 0x0 bulk_out_complete 0x1b872e4 Then, in get_next_command(), before calling start_transfer(), the bh pointer becomes

Re: [U-Boot] USB mass storage gadget patch

2012-11-05 Thread victor
n get_next_command(), before calling start_transfer(), the bh pointer becomes 0x1b87304. > >This changes in bh pointer can cause data not to be processed by the usb mass storage gadget code. Is there any feedback on the buffer management problem in the U-boot usb mass storage gadget patch?

Re: [U-Boot] USB mass storage gadget patch

2012-11-06 Thread victor
Lukasz, > Hi victor, > > Regarding UMS support: > > The last version posted at u-boot ML can be found at [**]: > http://thread.gmane.org/gmane.comp.boot-loaders.u- > boot/113004/match=ums > > > +if (fsg_fs_bulk_out_desc.bEndpointAddress != 0x1) > + fsg_

Re: [U-Boot] USB mass storage gadget patch

2012-11-06 Thread victor
Lukasz, > Lukasz, > > > Hi victor, > > > > Regarding UMS support: > > > > The last version posted at u-boot ML can be found at [**]: > > http://thread.gmane.org/gmane.comp.boot-loaders.u- > > boot/113004/match=ums > > >

Re: [U-Boot] USB mass storage gadget patch

2012-11-21 Thread victor
Lukasz, > -Original Message- > From: victor [mailto:vic...@keyasic.com] > Sent: Tuesday, 6 November, 2012 7:09 PM > To: 'Lukasz Majewski' > Cc: 'u-boot@lists.denx.de'; 'Marek Vasut'; 'Kyungmin Park' > Subject: RE: [U-Boot

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd55x01g

2022-12-11 Thread Victor Lim
adding gd55x01g to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 741b40fbde..f6ca16ac62 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd55x02g

2022-12-11 Thread Victor Lim
adding gd55x02g to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index f6ca16ac62..133550dd3b 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd25lb256

2022-12-11 Thread Victor Lim
adding gd25lb256 to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 133550dd3b..00c46f75be 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd25lb512

2022-12-11 Thread Victor Lim
adding gd25lb512 to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 00c46f75be..213a404604 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd55lb01g

2022-12-11 Thread Victor Lim
adding gd55lb01g to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 213a404604..b9381042ac 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd55lb02g

2022-12-11 Thread Victor Lim
adding gd55lb02g to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index b9381042ac..5d8a08bfe2 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd25lf80

2022-12-11 Thread Victor Lim
adding gd25lf80 to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 5d8a08bfe2..158b0057a5 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd25lf16

2022-12-11 Thread Victor Lim
adding gd25lf16 to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 158b0057a5..dbf8b8e298 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd25lf32

2022-12-11 Thread Victor Lim
adding gd25lf32 to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index dbf8b8e298..758aca20fd 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd25lf64

2022-12-11 Thread Victor Lim
adding gd25lf64 to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 758aca20fd..86e97dcb4e 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd25lf128

2022-12-11 Thread Victor Lim
adding gd25lf128 to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 86e97dcb4e..d3dba87c22 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd25lf255

2022-12-11 Thread Victor Lim
adding gd25lf255 to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index d3dba87c22..4aeaccd6d1 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd25lf511

2022-12-11 Thread Victor Lim
adding gd25lf511 to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 4aeaccd6d1..6634e9ceb1 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd25lt256

2022-12-11 Thread Victor Lim
adding gd25lt256 to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 6634e9ceb1..7dd1b63faa 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd25lt512

2022-12-11 Thread Victor Lim
adding gd25lt512 to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 7dd1b63faa..0419dca074 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd55lt01g

2022-12-11 Thread Victor Lim
adding gd55lt01g to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 0419dca074..a90b1a2e3c 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd55lt02g

2022-12-11 Thread Victor Lim
adding gd55lt02g to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index a90b1a2e3c..8bead629f4 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd25lx512

2022-12-11 Thread Victor Lim
adding gd25lx512 to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 8bead629f4..370d1f7698 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd55lx01g

2022-12-11 Thread Victor Lim
adding gd55lx01g to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 370d1f7698..726781f15b 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd55lx02g

2022-12-11 Thread Victor Lim
adding gd55lx02g to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 726781f15b..a729575979 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH V2 1/1] Configs: enable gigadevice

2022-12-12 Thread Victor Lim
enabling gigadevice in this file Signed-off-by: Victor Lim --- configs/zynq_cse_qspi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/zynq_cse_qspi_defconfig b/configs/zynq_cse_qspi_defconfig index 60f0d7cac4..d58db07e71 100644 --- a/configs/zynq_cse_qspi_defconfig +++ b

[PATCH V2 1/1] Configs: enable gigadevice xilinx_zynqmp_mini_qspi_defconfig

2022-12-12 Thread Victor Lim
enabling gigadevice in this file Signed-off-by: Victor Lim --- configs/xilinx_zynqmp_mini_qspi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_zynqmp_mini_qspi_defconfig b/configs/xilinx_zynqmp_mini_qspi_defconfig index c6401c2a54..2171d09fc3 100644 --- a/configs

[PATCH 0/4] Enable gigadevice and add new part #s

2022-12-20 Thread Victor Lim
gd25lx512: 1.8V OSPI, 512Mbit, ultra high performance gd55lx01g: 1.8V OSPI, 1Gbit, ultra high performance gd55lx02g: 1.8V OSPI, 2Gbit, ultra high performance This is the link to the datasheet. https://www.gigadevice.com/products/memory/flash/spi-nor/ Victor Lim (4): xilinx: zynq: Enable

[PATCH 2/4] arm64: zynqmp: Enable gigadevice

2022-12-20 Thread Victor Lim
Enable gigadevice part # Signed-off-by: Victor Lim --- configs/xilinx_zynqmp_mini_qspi_defconfig | 1 + configs/xilinx_zynqmp_virt_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/xilinx_zynqmp_mini_qspi_defconfig b/configs/xilinx_zynqmp_mini_qspi_defconfig index

[PATCH 3/4] xilinx: versal: Enable gigadevice parts

2022-12-20 Thread Victor Lim
Enable gigadevice in this file Signed-off-by: Victor Lim --- configs/xilinx_versal_mini_qspi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_versal_mini_qspi_defconfig b/configs/xilinx_versal_mini_qspi_defconfig index bb53e6c913..247a011dae 100644 --- a/configs

[PATCH 4/4] mtd: spi-nor-ids: add gigadevice part #

2022-12-20 Thread Victor Lim
OSPI, 512Mbit, ultra high performance gd55lx01g: 1.8V OSPI, 1Gbit, ultra high performance gd55lx02g: 1.8V OSPI, 2Gbit, ultra high performance This is the link to the datasheet. https://www.gigadevice.com/products/memory/flash/spi-nor/ Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c

[PATCH 1/4] xilinx: zynq: Enable gigadevice

2022-12-20 Thread Victor Lim
Enable gigadevice part #s Signed-off-by: Victor Lim --- configs/xilinx_zynq_virt_defconfig | 1 + configs/zynq_cse_qspi_defconfig| 1 + 2 files changed, 2 insertions(+) diff --git a/configs/xilinx_zynq_virt_defconfig b/configs/xilinx_zynq_virt_defconfig index 611c5e993c..fe2321d658 100644

[PATCH V3 0/4] Enable gigadevice and add new part #s

2023-01-09 Thread Victor Lim
gd25lx512: 1.8V OSPI, 512Mbit, ultra high performance gd55lx01g: 1.8V OSPI, 1Gbit, ultra high performance gd55lx02g: 1.8V OSPI, 2Gbit, ultra high performance This is the link to the datasheet. https://www.gigadevice.com/products/memory/flash/spi-nor/ Victor Lim (4): mtd: spi-nor-ids: add gigadevice

[PATCH V3 1/4] mtd: spi-nor-ids: add gigadevice part #

2023-01-09 Thread Victor Lim
adding gigadevice part numbers Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 68 +++ 1 file changed, 68 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 5f8f3ec955..f97e10da87 100644 --- a/drivers/mtd

[PATCH V3 2/4] configs: zynq: enable gigadevice

2023-01-09 Thread Victor Lim
enabling gigadevice in the related files Signed-off-by: Victor Lim --- configs/xilinx_zynq_virt_defconfig | 1 + configs/zynq_cse_qspi_defconfig| 1 + 2 files changed, 2 insertions(+) diff --git a/configs/xilinx_zynq_virt_defconfig b/configs/xilinx_zynq_virt_defconfig index 610d9de2a6

[PATCH V3 3/4] arm64: zynqmp: enable gigadevice

2023-01-09 Thread Victor Lim
enabling gigadevice in the related files Signed-off-by: Victor Lim --- configs/xilinx_zynqmp_mini_qspi_defconfig | 1 + configs/xilinx_zynqmp_virt_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/xilinx_zynqmp_mini_qspi_defconfig b/configs

[PATCH V3 4/4] xilinx: versal: enable gigadevice

2023-01-09 Thread Victor Lim
enabling gigadevice in the related files Signed-off-by: Victor Lim --- configs/xilinx_versal_mini_qspi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_versal_mini_qspi_defconfig b/configs/xilinx_versal_mini_qspi_defconfig index 9ca9b7e68a..11aff80f14 100644 --- a

[PATCH] Subject: [patch]SPI: GD SPI: Add Gigadevice SPI NOR part numbers

2022-11-17 Thread Victor lim
added gigadevice in the defconfig file and ID in the ids.c file Signed-off-by: Victor Lim --- configs/xilinx_zynqmp_mini_qspi_defconfig | 1 + configs/zynq_cse_qspi_defconfig | 1 + drivers/mtd/spi/spi-nor-ids.c | 137 +++--- 3 files changed, 94

[PATCH] SPI: GD SPI, enable GIGADEVICE in the config file

2022-11-21 Thread Victor Lim
Added GIGADEVICE=y in the defconfig files Signed-off-by: Victor Lim --- configs/xilinx_zynqmp_mini_qspi_defconfig | 1 + configs/zynq_cse_qspi_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/xilinx_zynqmp_mini_qspi_defconfig b/configs

[PATCH] SPI: GD SPI: added Gigadevice part #s in the ids.c file

2022-11-21 Thread Victor Lim
Updated the ids.c file with Gigadevice SPI NOR part #s. Signed-Off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 137 +++--- 1 file changed, 92 insertions(+), 45 deletions(-) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index

[PATCH] patch V2: SPI: NOR: Enable GIGADEVICE in the config file

2022-12-10 Thread Victor Lim
Working with Xilinx team to add Gigadevice part # to uboot Signed-off-by: Victor Lim --- configs/zynq_cse_qspi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/zynq_cse_qspi_defconfig b/configs/zynq_cse_qspi_defconfig index 60f0d7cac4..cd245906ab 100644 --- a/configs

[PATCH] patch V2: SPI: NOR: ZynqMp: enabling gigadevice part #

2022-12-10 Thread Victor Lim
Enabling Gigadevice in the config file Signed-off-by: Victor Lim --- configs/xilinx_zynqmp_mini_qspi_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/xilinx_zynqmp_mini_qspi_defconfig b/configs/xilinx_zynqmp_mini_qspi_defconfig index 75014117f1

[PATCH] patch: SPI: NOR: zynqmp_virt: enabling Gigadevice part #

2022-12-11 Thread Victor Lim
Enabling Gigadevice part # in this config file Signed-off-by: Victor Lim --- configs/xilinx_zynqmp_virt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_zynqmp_virt_defconfig b/configs/xilinx_zynqmp_virt_defconfig index e63b19b911..f1e58426aa 100644 --- a/configs

[PATCH] SPI NOR: zynq_virt: enabling Gigadevice part # in zynq virt config file

2022-12-11 Thread Victor Lim
Enabling Gigadevice part # in this config file Signed-off-by: Victor Lim --- configs/xilinx_zynq_virt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_zynq_virt_defconfig b/configs/xilinx_zynq_virt_defconfig index 611c5e993c..6506cc7ecc 100644 --- a/configs

[PATCH] SPI NOR: versal_virt: enabling gigadevice part #s

2022-12-11 Thread Victor Lim
Enabling gigadevice part # in this config file Signed-off-by: Victor Lim --- configs/xilinx_versal_virt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig index 49cf7c30a8..732806559e 100644 --- a/configs

[PATCH] patch: SPI NOR: versal_net_virt: Enabling gigadevice parts

2022-12-11 Thread Victor Lim
Enabling gigadevice parts in the config file. Signed-off-by: Victor Lim --- configs/xilinx_versal_net_virt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_versal_net_virt_defconfig b/configs/xilinx_versal_net_virt_defconfig index 6339b17d20..86e18807c3 100644 --- a

[PATCH] patch V2: SPI NOR: ZynqMP: Zynq: GD25Q512: adding part # to the list

2022-12-11 Thread Victor Lim
Adding GD25Q512 to the part # list. Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 92d3a4aa5d..fa8320eac2 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b

[PATCH] patch v2: SPI NOR: ZynqMP: Zynq: adding gd55b01g to the list

2022-12-11 Thread Victor Lim
adding gd55b01g to the list Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index fa8320eac2..1c9cb26008 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: Zynqmp: Zynq: adding gd55b02g

2022-12-11 Thread Victor Lim
Adding gd55b02g to the list Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 1c9cb26008..b153bbb05a 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: ZynqMP: Zynq: gd25f64 added to the list

2022-12-11 Thread Victor Lim
Adding gd25f64 to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index b153bbb05a..3236afc127 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: Zynq: add gd25f128

2022-12-11 Thread Victor Lim
Adding gd25f128 to this file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 3236afc127..b5ce527433 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: add gd25f256

2022-12-11 Thread Victor Lim
add gd25f256 to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index b5ce527433..bb28dcefc0 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd/spi

[PATCH] patch v2: SPI NOR: zynqmp:zynq: add gd55f512

2022-12-11 Thread Victor Lim
Adding gd55f512 to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index bb28dcefc0..f429b7349b 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: add gd25t512

2022-12-11 Thread Victor Lim
Adding gd25t512 to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index f429b7349b..4c384fd5d3 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd55t01g

2022-12-11 Thread Victor Lim
adding gd55t01g to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 4c384fd5d3..6301b4704b 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd55t02g

2022-12-11 Thread Victor Lim
Adding gd55t02g to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 6301b4704b..a4eebebc7d 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[PATCH] patch v2: SPI NOR: zynqmp: zynq: gd25x512

2022-12-11 Thread Victor Lim
adding gd25x512 to the file Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index a4eebebc7d..741b40fbde 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd

[U-Boot] [PATCH 1/1] ppc4xx: fix UIC external_interrupt hang on UIC0

2008-08-28 Thread Victor Gallardo
This patch fixes a UIC external_interrupt hang if critical or non-critical interrupt is set at the same time as a normal interrupt is set on UIC0. Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- cpu/ppc4xx/uic.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -

[U-Boot] [PATCH 1/1] ppc4xx: Add support for GPCS, SGMII and M88E1112 PHY

2008-08-29 Thread Victor Gallardo
This patch adds GPCS, SGMII and M88E1112 PHY support for the AMCC PPC460GT/EX processors. Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- cpu/ppc4xx/4xx_enet.c | 116 - cpu/ppc4xx/miiphy.c | 40 - include/ppc4xx_

[U-Boot] [PATCH 1/1] ppc4xx: Add support for GPCS, SGMII and M88E1112 PHY

2008-08-30 Thread Victor Gallardo
This patch adds GPCS, SGMII and M88E1112 PHY support for the AMCC PPC460GT/EX processors. Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- cpu/ppc4xx/4xx_enet.c | 122 - cpu/ppc4xx/miiphy.c | 41 +++- include/ppc4xx_

Re: [U-Boot] Burning U-boot on 460EX using BDI3000

2008-09-01 Thread Victor Gallardo
Hi Felix, Here is my BDI configuration file for Canyonlands. This one should work for you. This one configures OCM instead DDR. -Victor Gallardo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Felix Radensky Sent: Monday, September 01, 2008 9:43 AM

Re: [U-Boot] [PATCH 1/1] ppc4xx: Add support for GPCS, SGMII and M88E1112 PHY

2008-09-02 Thread Victor Gallardo
Hi Ben, OK. You are correct. I will update this area and resubmit. -Victor Gallardo -Original Message- From: Ben Warren [mailto:[EMAIL PROTECTED] Sent: Saturday, August 30, 2008 9:34 AM To: Victor Gallardo Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH 1/1] ppc4xx: Add support

[U-Boot] [PATCH 1/1 v3] ppc4xx: Add support for GPCS, SGMII and M88E1112 PHY

2008-09-02 Thread Victor Gallardo
This patch adds GPCS, SGMII and M88E1112 PHY support for the AMCC PPC460GT/EX processors. Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- cpu/ppc4xx/4xx_enet.c | 162 - cpu/ppc4xx/miiphy.c | 41 - include/ppc4xx_

Re: [U-Boot] [PATCH 1/1 v3] ppc4xx: Add support for GPCS, SGMII and M88E1112 PHY

2008-09-03 Thread Victor Gallardo
Hi Stefan, OK. I agree, I will remove DFLT_PHY_LESS_SPEED and DFLT_PHY_LESS_DUPLEX. In terms of a generic PHY-less approach. I'll wait for Ben's input. -Victor Gallardo -Original Message- From: Stefan Roese [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2008 12:2

Re: [U-Boot] [PATCH 1/1 v3] ppc4xx: Add support for GPCS, SGMII and M88E1112 PHY

2008-09-03 Thread Victor Gallardo
>> + >> +/* >> + * CFG_PHY_LESS_PORTS tells us about ethernet ports that have no PHY >> + * attached to them. >> + */ >> +#ifndef CFG_PHY_LESS_PORTS >> +#define CFG_PHY_LESS_PORTS >> +#endif >> + >> +struct phy_less_port { >> +unsigned int devnum;/* ethernet port */ >> +unsigned int sp

Re: [U-Boot] [PATCH 1/1 v3] ppc4xx: Add support for GPCS, SGMII and M88E1112 PHY

2008-09-04 Thread Victor Gallardo
Hi Stefan and Ben, I saw what Andy Fleming's did. This is a bit to much work for what I have time for. I aggree, we need to take baby steps.. For now I'll change PHY-less to Fixed PHY and update some style issues. -Victor Gallardo -Original Message- From: Stefan Roese [mai

[U-Boot] ppc4xx: glacier broken with latest u-boot

2008-09-04 Thread Victor Gallardo
, 400 MHz, CL3) FLASH: 64 MB NAND: 32 MiB PCI: Bus Dev VenId DevId Class Int PCIE0: link is not up. PCIE0: initialization as root-complex failed PCIE1: link is not up. PCIE1: initialization as root-complex failed Regards, Victor Gallardo ___ U-Boot

[U-Boot] [PATCH 1/1] ppc4xx: Add support for GPCS, SGMII and M88E1112 PHY

2008-09-04 Thread Victor Gallardo
This patch adds GPCS, SGMII and M88E1112 PHY support for the AMCC PPC460GT/EX processors. Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- v2: - Added comments to GPCS PHY setup - Minor coding style cleanup v3: - Generalized the PHY-less configuration even more v4: -

[U-Boot] [PATCH 1/1 v4] ppc4xx: Add support for GPCS, SGMII and M88E1112 PHY

2008-09-04 Thread Victor Gallardo
This patch adds GPCS, SGMII and M88E1112 PHY support for the AMCC PPC460GT/EX processors. Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- v2: - Added comments to GPCS PHY setup - Minor coding style cleanup v3: - Generalized the PHY-less configuration even more v4: -

u-boot@lists.denx.de

2008-09-08 Thread Victor Gallardo
Oops, Sorry Stefan my fault for introducing this. Thanks for fixing this. Regards Victor Gallardo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Roese Sent: Friday, September 05, 2008 5:13 AM To: u-boot@lists.denx.de Subject: [U-Boot] [PATCH

[U-Boot] [PATCH] ppc4xx: Allow DTT_I2C_DEV_CODE configured by CFG_I2C_DTT_ADDR

2008-09-09 Thread Victor Gallardo
On AMCC Arches board DTT_I2C_DEV_CODE is different then canyonlands and glacier. This patch allows DTT_I2C_DEV_CODE to be configured by CFG_I2C_DTT_ADDR Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- drivers/hwmon/lm75.c |4 1 files changed, 4 insertions(+), 0 del

[U-Boot] [PATCH v2] ppc4xx: Allow DTT_I2C_DEV_CODE configured by CFG_I2C_DTT_ADDR

2008-09-09 Thread Victor Gallardo
On AMCC Arches board DTT_I2C_DEV_CODE is different then canyonlands and glacier. Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- v2: - Add description for CFG_I2C_DTT_ADDR to README README |6 ++ drivers/hwmon/lm75.c |4 2 files changed, 10 inse

Re: [U-Boot] [PATCH v2] ppc4xx: Allow DTT_I2C_DEV_CODE configured by CFG_I2C_DTT_ADDR

2008-09-10 Thread Victor Gallardo
Hello Stefan, >On Wednesday 10 September 2008, Victor Gallardo wrote: >> On AMCC Arches board DTT_I2C_DEV_CODE is different then canyonlands and >> glacier. > >This patch is not really ppc4xx related, so please replace the "ppc4xx:" from >the subject li

[U-Boot] [PATCH] ppc4xx: Fix DDR2 auto calibration on Kilauea 600MHz

2008-09-15 Thread Victor Gallardo
Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> Signed-off-by: Adam Graham <[EMAIL PROTECTED]> --- board/amcc/kilauea/kilauea.c| 31 +++ cpu/ppc4xx/4xx_ibm_ddr2_autocalib.c |5 - include/asm-ppc/ppc4xx-sdram.h |8 3 f

Re: [U-Boot] [PATCH] ppc4xx: Fix DDR2 auto calibration on Kilauea 600MHz

2008-09-16 Thread Victor Gallardo
gt; configurations. This will of course result in a quicker scan, but > autocalibration should still work with the default full list. > Hi Stefan, yes you are correct, it should, but for some reason the full list causes problem. This is currently being investigated by HW team. Current w

[U-Boot] [PATCH v2] ppc4xx: Fix DDR2 auto calibration on Kilauea 600MHz

2008-09-16 Thread Victor Gallardo
Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> Signed-off-by: Adam Graham <[EMAIL PROTECTED]> --- v2: - Add comments on why this is need for 200MHz PLB bus - Minor coding style cleanup board/amcc/kilauea/kilauea.c| 31 +++

Re: [U-Boot] [PATCH 1/3 v2] ppc4xx: Add AMCC Arches board support(dual 460GT)

2008-10-06 Thread Victor Gallardo
t;USB connectivity" > block... OK. Will fix. > > */ > > +#if !defined(CONFIG_ARCHES) > > #define CONFIG_CMD_DATE > > -#define CONFIG_CMD_DTT > > #define CONFIG_CMD_NAND > > +#define CONFIG_CMD_SNTP > > +#endif > > +#define CONFIG_CMD_DTT >

Re: [U-Boot] [PATCH 1/3 v2] ppc4xx: Add AMCC Arches boardsupport(dual 460GT)

2008-10-06 Thread Victor Gallardo
It assigns ethact to the first ethernet port it discovers. In Arches, we need the second Ethernet port set as ethact. Updating it at preboot allows us to update after eth_register has set it. Best Regards, Victor Gallardo ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/3 v2] ppc4xx: Add AMCC Arches boardsupport(dual 460GT)

2008-10-07 Thread Victor Gallardo
nd Ethernet port set as ethact. > > Updating it at preboot allows us to update after eth_register has > > set it. > > Are you sure? I think there must be something wrong with your > configuration, then. Did you set "ethprime" ? How did I miss that. Yes, this is what we should

Re: [U-Boot] [PATCH 1/1 v2] ppc4xx: Reset and relock memory DLL after SDRAM_CLKTR change

2008-10-08 Thread Victor Gallardo
Hi Stefan, We will take a look. Yes, we ran the test as you mentioned (bootcmd=reset) on both versions of the Kilauea board and let it run for 24 hours without any problems. Hopefully we can reproduce the problem you are seeing. Thanks, Victor Gallardo

Re: [U-Boot] [PATCH 1/1 v2] ppc4xx: Reset and relock memory DLL after SDRAM_CLKTR change

2008-10-08 Thread Victor Gallardo
OK. Thanks Stefan. > > We will take a look. > > Thanks. > > > Yes, we ran the test as you mentioned (bootcmd=reset) on both versions of > > the Kilauea board and let it run for 24 hours without any problems. > > Hopefully we can reproduce the problem you are seeing. > > I suggest that you use

Re: [U-Boot] [PATCH] ppc4xx: Fix 440EPx bug in reconfigure_pll()

2010-08-26 Thread Victor Gallardo
a bit of code was moved into the if statement, since its > only used after later on. No need to run this code all the time. > > Also, a few empty lines are added to make the code better readable. > Look good to me. -Victor Gallardo

[U-Boot] [PATCH] ppc4xx: Disable trace broadcast for 44x non debug mode

2010-09-16 Thread Victor Gallardo
. Resetting via u-boot or OS will not. Signed-off-by: Victor Gallardo --- arch/powerpc/cpu/ppc4xx/start.S |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/cpu/ppc4xx/start.S b/arch/powerpc/cpu/ppc4xx/start.S index 4bad32f..bac8681 100644 --- a/arch/powerpc/cpu

Re: [U-Boot] NAND ECC Error with wrong SMC ording bug

2009-08-20 Thread Victor Gallardo
Hi Sean, The change is necessary in both Linux and u-boot. Without this change customer are seeing the problem. Best Regards, Victor Gallardo > -Original Message- > From: linuxppc-dev-bounces+vgallardo=amcc@lists.ozlabs.org > [mailto:linuxppc-dev- > bounces+vg

Re: [U-Boot] NAND ECC Error with wrong SMC ording bug

2009-08-20 Thread Victor Gallardo
with my method of reproducing the bug? This > > bug is deadly for our customers. I don't want to make the change unless > > it is absolutely necessary.. > > Just one question: did you enabled MTD_NAND_ECC_SMC in configs? Yes, it was set. Best Regards, Victor Gallardo ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] (no subject)

2011-10-09 Thread victor casunuran
how to reset or re program this part item s29gl064n90tf103.. can you please help me thanks vic ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-13 Thread Victor Ascroft
Hello, I am working with a Cortex A5 Freescale Vybrid Processor. Since a thumb build leads to a saving of almost 1 MB for my u-boot image and consequently to faster serial downloads I have been looking at this. Currently enabling this option leads to a hang. After some debugging I have narrow

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-13 Thread Victor Ascroft
Hello, On 11/14/2014 02:23 AM, Wolfgang Denk wrote: > Dear Victor Ascroft, > > In message <5464dc59.2040...@gmail.com> you wrote: >> >> I am working with a Cortex A5 Freescale Vybrid Processor. Since a thumb >> build leads to a saving of almost 1 MB for my u-b

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-13 Thread Victor Ascroft
On 11/14/2014 11:13 AM, Wolfgang Denk wrote: > Dear Victor, > > In message <54658577.3090...@gmail.com> you wrote: >> >>>> I am working with a Cortex A5 Freescale Vybrid Processor. Since a thumb >>>> build leads to a saving of almost 1 MB for my

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-14 Thread Victor Ascroft
On 11/15/2014 07:26 AM, Simon Glass wrote: > Hi Albert, > > On 14 November 2014 08:26, Albert ARIBAUD wrote: >> Hello Simon, >> >> On Fri, 14 Nov 2014 07:01:59 -0700, Simon Glass >> wrote: >>> Hi Victor, >>> >>> On 13 November 2

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-14 Thread Victor Ascroft
On 11/15/2014 10:56 AM, Victor Ascroft wrote: > On 11/15/2014 07:26 AM, Simon Glass wrote: >> Hi Albert, >> >> On 14 November 2014 08:26, Albert ARIBAUD wrote: >>> Hello Simon, >>> >>> On Fri, 14 Nov 2014 07:01:59 -0700, Simon Glass >>> w

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-17 Thread Victor Ascroft
; to all routines so that the linker makes >> all references to them odd and therefore, cause the CPU to >> enforce Thumb mode when branching to them. >> >> (1) although you *could* produce an ARM-based SoC that runs in >> Thumb mode b

[U-Boot] RPi3B rainbow screen for u-boot v2019.07 rpi_3_32b_defconfig

2019-07-10 Thread Victor Seryodkin
u-boot v2019.07 (rpi_3_32b_defconfig) failed to boot on Raspberry Pi3B Configuration Raspberry Pi 3B (not 3B plus) OS: Raspbian stretch lite Distro: 2018-11-13-raspbian-stretch.zip http://downloads.raspberrypi.org/raspbian/images/raspbian-2018-11-15/2018-11-13-raspbian-stretch.zip Booting RPi fr