Commit Graph

2970 Commits

Author SHA1 Message Date
rusefi 078a3cd8c8 only:rtfm? 2025-01-26 15:16:03 -05:00
kifir 4a39886a47 Now we allow to specify folder with extra files to copy on image using `$EXTRA_FILES_TO_COPY_ON_IMAGE_FOLDER` environment variable 2025-01-26 16:16:35 +02:00
kifir b535a943b9 extract image creation into `create_image.sh` script 2025-01-26 16:16:35 +02:00
kifir c29eac2c07 get rid of renaming files in `mcopy` 2025-01-26 16:16:35 +02:00
kifir ffcebade4c correct sample invocation to avoid `Disk full` error 2025-01-26 16:16:35 +02:00
rusefi bd0e04669a CORE_CLOCK replacement progress 2025-01-24 22:27:49 -05:00
rusefi 811b249d0c only:sdlow 2025-01-24 22:27:49 -05:00
Andrey Gusakov 268e3f2339 LIMITED_WHILE_LOOP: warning 2025-01-24 18:30:01 -05:00
Andrey Gusakov 36ee662a34 halconf: rework LIMITED_WHILE_LOOP 2025-01-24 12:12:33 -05:00
Andrey Gusakov 9dab8472e4 reset_cause: do not clear reset reason register in bootloader 2025-01-24 10:38:15 -05:00
Andrey Gusakov 2115f8a705 mmc_card: delete fail reports from mmc thread 2025-01-24 08:45:10 -05:00
Andrey Gusakov 985d49a42b mmc_card: report files delete command 2025-01-24 08:45:10 -05:00
andreika-git f51e0d66e6 fix watchdog https://github.com/rusefi/rusefi/issues/1339
More robust fix
2025-01-23 16:38:21 -05:00
Andrey Gusakov e7047ba553 Error report file on SD card indicator 2025-01-23 12:17:04 -05:00
Matthew Kennedy 28c1385cac SCSI inquiry length
only:usb
2025-01-23 09:48:53 -05:00
rusefi 0ea54f2863 extern bool isInHardFaultHandler
only:uaefi
2025-01-22 14:56:11 -05:00
Andrey Gusakov e80d753390 error_handling: save few stack values for HardFault too 2025-01-22 12:42:14 -05:00
rusefi 4547bc067b dead/doc
only:alphax-8chan
2025-01-22 10:56:41 -05:00
Andrey Gusakov 647db3be46 stm32_reset_cause: handle POR/PDR reset cause 2025-01-22 08:29:49 -05:00
Andrey Gusakov 1acff71d5e mmc_card: update to new FatFS API 2025-01-21 20:48:33 -05:00
Andrey Gusakov 5fa43c7dac mmc_card: temp buffer for f_mkfs() should be in non-cached area 2025-01-21 18:34:32 -05:00
Andrey Gusakov 8e959542eb mmc_card: fix for boards with disabled tooth logger 2025-01-21 16:18:56 -05:00
Andrey Gusakov e82a913d74 mmc_card: slice log into 32Mb files 2025-01-21 16:18:56 -05:00
Andrey Gusakov f60a54a353 mmc_card: incapsulate counters in SdLogBufferWriter 2025-01-21 16:18:56 -05:00
Andrey Gusakov 84a77ff3c6 mmc_card: reset binary logger on new file start
So each new file is started with proper header
2025-01-21 16:18:56 -05:00
Andrey Gusakov bad0071aeb mmc_card: pass pointer to FIL to users
Currently we are using same one shared FDLogFile
2025-01-21 16:18:56 -05:00
Andrey Gusakov e0f7b5e46b mmc_card: isSdCardAlive() is actualy shows state of SD logger
...and not used externally
2025-01-21 16:18:56 -05:00
Andrey Gusakov ab382a0fdf WIP: mmc_card: pre-allocate 32Mb for newly created log file 2025-01-21 16:18:56 -05:00
rusefillc 8a210b1b4f fix
only:uaefi
2025-01-21 15:25:44 -05:00
Andrey Gusakov 4f614e5a36 mmc_card: fix unmount 2025-01-21 15:10:51 -05:00
Andrey Gusakov 66cdc4b0bf mmc_card: simplify updateSdCardLiveFlags() 2025-01-21 15:05:47 -05:00
Andrey Gusakov 953c29c9a6 mmc_card: do not format to extFAT 2025-01-21 10:27:13 -05:00
rusefillc fcc08a9f8a helping simulator
only:uaefi
2025-01-21 10:27:06 -05:00
Andrey Gusakov 68d4a63728 mmc_card: implement SD card mode switcher 2025-01-21 10:20:29 -05:00
rusefillc 533cb0852f helping hellen 2025-01-21 09:54:17 -05:00
Andrey Gusakov 54fa27e099 mmc_card: divide unmount into parts 2025-01-21 09:40:03 -05:00
Andrey Gusakov 40c4143aa4 mmc_card: sdState -> sdStatus and convert to enum 2025-01-21 09:40:00 -05:00
Andrey Gusakov ee32e391ac helping simulator
only:uaefi
2025-01-21 09:32:42 -05:00
Andrey Gusakov 8f8460a937 mmc_card: divide init and mount 2025-01-21 09:27:28 -05:00
Andrey Gusakov 76a41f0387 mmc_card: createLogFile() do not append already exist file 2025-01-20 15:45:33 -05:00
rusefi 97b8d7a757 f_setlabel(SD_CARD_LABEL) 2025-01-20 13:47:38 -05:00
rusefillc 173fc2be47 bool mmcUnMount
only:chThdSleepMilliseconds
2025-01-20 10:15:17 -05:00
Andrey Gusakov 8eda2fe104 main_hardfault.c: fix comment 2025-01-19 16:31:06 -05:00
rusefillc 14029bc55e SD card un-mount unmount when we turn off programmatically #7289
only:uaefi
2025-01-19 16:23:34 -05:00
rusefillc 3653cff490 EFI_HIP_9011_LOGIC
only:uaefi
2025-01-19 15:34:57 -05:00
Andrey Gusakov 6f62a6125e error_handling: fixes for ECU with no backup RAM 2 2025-01-15 10:31:14 -05:00
Andrey Gusakov 0e6dc0c7b2 workaround include mess when building simulator 2025-01-15 10:31:14 -05:00
Andrey Gusakov e1d340a393 mmc_card_util: cleanup 2025-01-15 10:31:14 -05:00
Andrey Gusakov e0c05c4777 error reporting: extract all related code to error_handling
Also:
 -report ChibiOS panic message
 -use bootCount for boot report file naming
 -save few bytes in backup ram by reusing same field for different errors types
2025-01-15 10:31:14 -05:00
Andrey Gusakov 0b1b7f860d main_hardfault: no magic numbers 2025-01-14 11:04:27 -05:00