Change in simtrace2[master]: firmware: increase dfu page size

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Hoernchen gerrit-no-reply at lists.osmocom.org
Thu Nov 4 23:14:36 UTC 2021


Hoernchen has uploaded this change for review. ( https://gerrit.osmocom.org/c/simtrace2/+/26120 )


Change subject: firmware: increase dfu page size
......................................................................

firmware: increase dfu page size

This was never the actual flash page size of the sam3 to begin with
(256), only the buffer size filled by usb transfers. Increasing this to
20K saves us some time, the flash code automatically writes page-sized
areas anyway, and we have plenty of ram to spare.

Change-Id: I5dfdc04070cd9cae3bec2bf28e125876dd39d72c
---
M firmware/libboard/common/include/board_common.h
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/20/26120/1

diff --git a/firmware/libboard/common/include/board_common.h b/firmware/libboard/common/include/board_common.h
index 7c4b908..35fe138 100644
--- a/firmware/libboard/common/include/board_common.h
+++ b/firmware/libboard/common/include/board_common.h
@@ -116,7 +116,7 @@
 
 #define BOARD_DFU_BOOT_SIZE	(16 * 1024)
 #define BOARD_DFU_RAM_SIZE	(2 * 1024)
-#define BOARD_DFU_PAGE_SIZE	512
+#define BOARD_DFU_PAGE_SIZE	IFLASH_PAGE_SIZE*8*10
 /** number of DFU interfaces (used to flash specific partitions) */
 #define BOARD_DFU_NUM_IF	3
 

-- 
To view, visit https://gerrit.osmocom.org/c/simtrace2/+/26120
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: I5dfdc04070cd9cae3bec2bf28e125876dd39d72c
Gerrit-Change-Number: 26120
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211104/280c877e/attachment.htm>


More information about the gerrit-log mailing list