CFI: increase performance
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 2 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 0/2] CFI: increase performance
Quoted 32 lines · Jens Gehrlein
Dear Jean-Christophe,
Quoted 16 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 15 lines · Jens Gehrlein
Quoted 14 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 13 lines · Jens Gehrlein
Hi list,
The following patches should increase the performance of the CFI driver, particularly with regard to single word programming mode.
I tested it on TQM5200S with NOR-Flash Samsung K8P2815UQB, which has no write buffer. At least no write buffer, that could be programmed using standard commands.
Performance increase on this TQM is about factor 2.6 (37 KiB/s -> 95 KiB/s). On the same module with Spansion S29GL128N (with write buffer) it is about factor 1.2 (455 KiB/s -> 585 KiB/s).
Quoted 7 lines
Quoted 6 lines
Quoted 4 lines
Quoted 3 lines
TQM5200 is a bottom boot module with 2x16 Bit Flash connection. Could someone test the patches on other HW, particularly top boot, other CPU, other flash width, please?
Could you try it against the qemu SVN HEAD
??? Sorry, what is qemu SVN HEAD ???
In qemu you have 2 boards emulated with u-boot support
qemu_mipsand SX1Now, I understand, what you meant.
Quoted 3 lines
it'll be nice to test them also
Quoted 7 lines
Quoted 1 line
please note they are only in the SVN tree of qemu
Because I'm neither familiar with qemu nor with svn I can't do that with little effort (installation, familiarization, etc.). Beside that, how could a virtual machine simulate the real bus access with it's bus timing? If I'm right in this point, only testing on another architecture is possible, but no performance test.
It's simple to use I've write a doc about the qemu_mips usage in doc/README.qemu_mips
and I've resend doc update yesterday to the ML
for the SX1
it's nearly the same as the qemu_mips but the cmdline to start qemu will be dd of=SX1/flash bs=1k count=32k if=/dev/zero
dd of=SX1/flash bs=1k conv=notrunc if=SX1/u-boot.bin /opt/qemu/bin/qemu-system-arm -M sx1 -monitor pty -nographic -m 98 -pflash SX1/flash
and the tree to use the SX1 is u-boot-arm/next
with make SX1_stdout_serial_config
Best Regards,
J.