Werner's Miscellanea
Sign in or create your account | Project List | Help
Werner's Miscellanea Commit Details
Date: | 2012-03-03 00:59:34 (12 years 25 days ago) |
---|---|
Author: | Werner Almesberger |
Commit: | f829d131adc5f0ec4aa079d4b8c0d65ea578cdb1 |
Message: | m1/patches/rtems/: fix SOFTUSB_PMEM_SIZE |
Files: |
m1/patches/rtems/fix-pmem-size.patch (1 diff) m1/patches/rtems/series (1 diff) |
Change Details
m1/patches/rtems/fix-pmem-size.patch | ||
---|---|---|
1 | We increased PMEM to 8 kB but never updated SOFTUSB_PMEM_SIZE. | |
2 | This didn't have much of an effect because all we used it for was | |
3 | to zero unused program memory - which we should never touch | |
4 | anyway. | |
5 | ||
6 | But now that "usb load" in FN uses SOFTUSB_PMEM_SIZE, this caused | |
7 | it to silently truncate the firmware, producing rather puzzling | |
8 | effects. | |
9 | ||
10 | - Werner | |
11 | ||
12 | Index: rtems/c/src/lib/libbsp/lm32/milkymist/include/system_conf.h | |
13 | =================================================================== | |
14 | --- rtems.orig/c/src/lib/libbsp/lm32/milkymist/include/system_conf.h 2012-03-02 20:35:36.000000000 -0300 | |
15 | @@ -155,7 +155,7 @@ | |
16 | #define MM_SOFTUSB_PMEM_BASE (0xa0000000) | |
17 | #define MM_SOFTUSB_DMEM_BASE (0xa0020000) | |
18 | ||
19 | -#define SOFTUSB_PMEM_SIZE (1 << 12) | |
20 | +#define SOFTUSB_PMEM_SIZE (1 << 13) | |
21 | #define SOFTUSB_DMEM_SIZE (1 << 13) | |
22 | ||
23 | /* PFPU */ |
m1/patches/rtems/series | ||
---|---|---|
24 | 24 | export-shell-fns.patch # https://www.rtems.org/bugzilla/show_bug.cgi?id=2030 |
25 | 25 | bootp-dhcp-cleanup.patch # https://www.rtems.org/bugzilla/show_bug.cgi?id=2031 |
26 | 26 | usb-firmware-ioctl.patch # https://www.rtems.org/bugzilla/show_bug.cgi?id=2032 |
27 | fix-pmem-size.patch |
Branches:
master