[U-Boot] nand write isn't working with u-boot

2018-04-16 Thread Mr. goldenstreet
hey, My board is arria v. my u-boot version is 01/2017 but i checked it on 11/2017 as well. i'm trying to write to the nand and for some reason this doesn't work. my output is: # nand write 0x0 0 10 nand write: device 0 offset 0x0, size 0x10 nand write to offset 0 failed -5 0 bytes written: ERROR

[U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2018-01-03 Thread Mr. goldenstreet
hey, i have looked at this thread: http://u-boot.10912.n7.nabble.com/QSPI-quot-sf-probe-quot-quot-sf-read-quot-on-Altera-SoC-FPGA-td304882.html i'm having the same problem with Arria 5, when i try to use the "sf probe" command on the nor flash, the result i'm getting0 is: SF: Detected n25q512 wit

Re: [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2018-01-04 Thread Mr. goldenstreet
yeah, those patches might help me a lot, i can't get it to work right now. thanks a lot. -- Sent from: http://u-boot.10912.n7.nabble.com/ ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] should there be general setbits function?

2018-05-08 Thread Mr. goldenstreet
hey, in some parts of the code set bits operations on registers are implemented like this: writel(readl(register) | CONSTANT, register) i know there are setbits_be/setbits_le functions in io.h, so why isn't there a general setbits function which checks your architecture and decides which one of t

Re: [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2018-01-24 Thread Mr. goldenstreet
it worked! i applied the patches alone and it didn't work, but then i noticed simon's note to add compatible = "spi-flash" so i added it on the arria 5 dts file, and it worked. i think it should be added to the patches. thanks for the help! -- Sent from: http://u-boot.10912.n7.nabble.com/ _

[U-Boot] Altera_tse driver

2019-10-07 Thread Mr. goldenstreet
hello, as i was porting altera_tse driver to my customize board(which is very similar to the arria 5) i tried to check everything works correctly, but it seemed like i only got one packet every run. so i learned a little more about it and i understood there is a need to write a descriptor every tim