RE: [PATCH 0/2] mtd: nand: raw: atmel: R/B gpio on sam9x60

2023-08-08 Thread Mihai.Sain
Hi Alex, Please find bellow my answer: -- Added Mihai who tested this a lot at some point in time Eugen On 8/8/23 16:02, Alexander Dahl wrote: > Hello everyone, > > this is a patch series wtih some real fixes _and_ a question or some > kind of support request in th

RE: [u-boot][PATCH] board: at91: sama5d29_curiosity: add initial support for sama5d29_curiosity

2023-07-24 Thread Mihai.Sain
Hello Eugen, Thank you for applying the patch. For this board we don't want to use SPL. I will send v2 patch to remove the custom prompt. Thanks. Best regards, Mihai Sain -Original Message- From: Eugen Hristev Sent: Monday, July 24, 2023 11:13 AM To: Mihai Sain - M19926 ; u-boot@lists

RE: [PATCH] configs: sama5d2: enable CONFIG_LTO

2023-07-24 Thread Mihai.Sain
Hello Eugen, I have successfully tested the binary on sama5d2_xplained board. Board is booting OK the zImage from fat (eMMC). Tested-by: Mihai Sain Best regards, Mihai Sain -Original Message- From: Eugen Hristev Sent: Monday, July 24, 2023 1:08 PM To: u-boot@lists.denx.de; Mihai Sain

RE: [PATCH] configs: at91: sama5d2_icp_mmc: Enable CONFIG_LTO

2023-07-24 Thread Mihai.Sain
Hello Eugen, I have successfully tested the binary on sama5d2_icp board. Board is booting OK the zImage from fat (SD-card). Tested-by: Mihai Sain Best regards, Mihai Sain -Original Message- From: Eugen Hristev Sent: Monday, July 24, 2023 2:08 PM To: u-boot@lists.denx.de; Mihai Sain -

RE: [PATCH] arm: Enable SYS_THUMB_BUILD on AT91

2023-11-17 Thread Mihai.Sain
Hi Eugen, I built new binaries with CONFIG_SYS_THUMB_BUILD=y for sam9x60_curiosity, sama5d29_curiosity, sama7g5ek and new sam9x75_curiosity board. I used the latest u-boot/master branch for this test. I noticed that the file size of the binaries have beed reduced with aprox 150KiB due to CONFIG_

Re: USB mass storage gadget on SAMA5D2

2023-05-26 Thread Mihai.Sain
Hi Zixun, I recommend to use sam-ba in order to flash the eMMC partitions: boot1, boot2, user0. sam-ba download links: https://ww1.microchip.com/downloads/aemDocuments/documents/MPU32/ProductDocuments/SoftwareLibraries/Firmware/sam-ba_v3.7-linux_x86_64.tar.gz https://ww1.microchip.com/downloads/a

RE: [PATCH 4/4] mtd: nand: raw: atmel: Introduce optional debug commands

2024-03-18 Thread Mihai.Sain
On 3/7/24 11:10, Alexander Dahl wrote: > For now adds one new command 'hsmc' with a single subcommand 'decode' > to read and display the content of the registers of the Static Memory > Controllers (SMC/HSMC) found in different at91 SoCs. Needed to get a > better picture on what raw nand core an

RE: [PATCH 4/4] mtd: nand: raw: atmel: Introduce optional debug commands

2024-03-18 Thread Mihai.Sain
> U-Boot> nand info > > Device 0: nand0, sector size 256 KiB > Manufacturer MACRONIX > Model MX30LF4G28AD > Device size512 MiB > Page size 4096 b > OOB size 256 b > Erase size 262144 b > ecc strength 8 bits > ecc step size 512 b >

RE: [PATCH 4/4] mtd: nand: raw: atmel: Introduce optional debug commands

2024-03-18 Thread Mihai.Sain
> Hi Alexander, > > I tested your work on sama7g54-curiosity board: > > U-Boot> nand info > > Device 0: nand0, sector size 256 KiB > Manufacturer MACRONIX > Model MX30LF4G28AD > Device size512 MiB > Page size 4096 b > OOB size 256 b > Erase size 2

RE: [PATCH 4/4] mtd: nand: raw: atmel: Introduce optional debug commands

2024-03-18 Thread Mihai.Sain
> The command is very useful. > I would like to have also the ONFI timing mode printed for nand-flash > 😊 As far as I can see the actually set mode is not stored anywhere. One could print it after it was successfully set, but that wou

RE: [PATCH 4/4] mtd: nand: raw: atmel: Introduce optional debug commands

2024-03-18 Thread Mihai.Sain
Hi Alexander, I'm sorry for quoting because the email is sent from Outlook ☹ > > U-Boot> nand info > > > > Device 0: nand0, sector size 256 KiB > > Manufacturer MACRONIX > > Model MX30LF4G28AD > > Device size512 MiB > > Page size 4096 b > > OOB size 25

RE: [PATCH 4/4] mtd: nand: raw: atmel: Introduce optional debug commands

2024-03-18 Thread Mihai.Sain
Hi Alexander, > Maybe we should add an automatic fallback for timing mode in > nand-controller.c 😊 > As of now the driver is forcing tRC_min to 30ns (mode 3), which is not > reliable for sama7 nfc controller ☹ > > https://github.com/u-boot/u-boot/blob/master/drivers/mtd/nand/r

RE: [PATCH 4/4] mtd: nand: raw: atmel: Introduce optional debug commands

2024-03-20 Thread Mihai.Sain
Hi Alex, > > Also I recommend to print the master clock in MHz, and to print the master > > clock name/label from ccf driver: > > https://github.com/u-boot/u-boot/blob/master/drivers/clk/at91/sama7g5. > > c#L410 > > Should be possible. I could do this and send a v2? > > Yes Please 😊 >

RE: [PATCH v2 6/6] cmd: nand: Add new optional sub-command 'onfi'

2024-03-20 Thread Mihai.Sain
Hi Alex, -- Override the ONFI timing mode at runtime. Signed-off-by: Alexander Dahl --- Tested-by: Mihai Sain I tested your new command on a new board/soc sam9x75-curiosity 😊 I find it very very useful ! I also rounded the master clock to 270 MHz 😊 Tha

RE: [PATCH v2 6/6] cmd: nand: Add new optional sub-command 'onfi'

2024-03-20 Thread Mihai.Sain
Hi Alex, Override the ONFI timing mode at runtime. Signed-off-by: Alexander Dahl --- I used the same board sam9x75-curiosity to test mode 5 😊 I forced in nfc driver the mode 5: + if (conf->timings.sdr.tRC_min < 2) And I ran t

RE: [PATCH v2 6/6] cmd: nand: Add new optional sub-command 'onfi'

2024-03-22 Thread Mihai.Sain
Hi Michael, --- I think this command can be really useful. Let try to have more testing on more boards - I managed to test the command on sama7g54-curiosity board. I also forced timing m