bstanwell
c13e2fa475
Update bootloader.c
2026-08-19 18:07:15 +10:00
R
81b5955a5c
Perturb USB de-config to better match vendor behavior
...
This was one of many changes along the path of discovering that `wfi`
seems to just break USBD.
This change is probably not necessary, but it feels more elegant.
2026-07-07 00:06:50 +01:00
R
03496cb28e
Fix incorrect computation of USB descriptor sizes
2026-07-07 00:06:48 +01:00
R
3c2255311c
Add another note on another optimization
2024-04-23 16:58:39 +01:00
R
02c30ff61a
yet more comments
2024-04-23 16:12:54 +01:00
R
01b147cbb2
define AUTO_BOOT_BITMAP_NUM_HWORDS constant
2024-04-21 05:53:46 +01:00
R
7affb1b209
first pass at comments
2024-04-21 05:51:35 +01:00
R
ef659206e2
fix booting ram, commit to new size
2024-04-14 18:29:09 +01:00
R
b490e6917d
xxx try to fix ram boot bug
...
ram boot doesn't seem to work if there's no flash application for some reason
2024-04-14 18:10:59 +01:00
R
c2665c139d
reboot into ram wip
2024-04-14 17:36:13 +01:00
R
397857a2a7
more shaving code size
2024-04-14 17:18:47 +01:00
R
878e2229e5
yet more code shaving
2024-04-14 17:10:38 +01:00
R
2acf794123
more code squeezing
2024-04-14 16:46:19 +01:00
R
cfe827c1ce
more blocks
2024-04-14 16:23:11 +01:00
R
73a91a4d90
micro-optimizations to shave off code size
2024-04-14 16:21:35 +01:00
R
181da94dbc
impl auto reboot again for small files
2024-04-14 16:05:53 +01:00
R
dd1b721486
ram download and bounds check; dunno how to do reboot
2024-04-14 15:34:26 +01:00
R
389e387aa1
fix bug prematurely sending STALL when write in progress
2024-04-14 15:21:01 +01:00
R
5b69ac973f
we inherently cannot implement this auto reboot properly
2024-04-14 14:36:11 +01:00
R
0a7f3f9d41
fix bug overflowing buffer when synthesizing data
2024-04-14 14:02:31 +01:00
R
63e32289d9
no stack needed anymore
2024-04-14 08:02:52 +01:00
R
b1e2e79d5d
cswtag into stash
2024-04-14 07:55:58 +01:00
R
673d6b6eab
all the usb regs too
2024-04-14 07:54:20 +01:00
R
688dc3c871
everything now in lds
2024-04-14 07:42:09 +01:00
R
b38aab0040
works, not ramless
2024-04-14 07:36:37 +01:00
R
ecef620913
xxx wtf this works
2024-04-14 07:26:46 +01:00
R
543baf7090
xxx this mostly works
2024-04-14 07:10:28 +01:00
R
79237091f5
wip ep1 out --> gp
2024-04-14 06:27:45 +01:00
R
4fc4d0c2ee
wip test opt with gp relaxation
2024-04-14 06:13:29 +01:00
R
50672d80b9
more code space opt -> fold read/write handlers
2024-04-14 05:26:45 +01:00
R
3c01843d1e
refactor common scsi hardcoded answers
2024-04-14 05:15:23 +01:00
R
078281f6f2
clean up and simplify sector synth logic
2024-04-14 04:54:03 +01:00
R
25cc8c1a5a
send csw -> subroutine
...
saves a lot of code space
2024-04-14 04:26:11 +01:00
R
8feb1d2ea8
micro-optimizations in startup assembly code
2024-04-14 04:08:13 +01:00
R
394046a4b1
not super well tested suspend
2024-04-14 03:52:08 +01:00
R
3d657b6704
yet more unsupported command error fixing
2024-04-14 03:25:00 +01:00
R
409819787e
fix error handling clear stall
2024-04-14 03:10:23 +01:00
R
90bf2331c8
read format capacity
...
windows worked once before it stopped working
2024-04-14 02:43:06 +01:00
R
ef0e1551c1
xxxxxxx start/stop unit, huge mess because out of registers
2024-04-14 01:44:20 +01:00
R
4b408dc065
put in html stub
2024-04-14 01:00:40 +01:00
R
4e1d1ea4a3
more reliable but still wtf
2024-04-13 23:56:36 +01:00
R
a609c3ddfb
xxx this still doesn't work
2024-04-13 22:55:22 +01:00
R
51b64d291a
xxx wip
2024-04-13 22:20:40 +01:00
R
3bbc82bd4d
flash programming appears okay
2024-04-13 21:54:35 +01:00
R
0c142bb60c
reboot on complete file
2024-04-13 21:33:56 +01:00
R
a7775ce431
can detect UF2 blocks
2024-04-13 20:19:20 +01:00
R
6e8174726b
without this magic macos gets sad
2024-04-13 19:18:09 +01:00
R
2098719b0a
fix some bugs
2024-04-13 19:14:10 +01:00
R
9aafc39d35
accept dummy writes
2024-04-13 19:07:54 +01:00
R
3975e92993
fix overalignment, real info file
2024-04-13 18:48:47 +01:00