Update source to Armbian-dev-202610.A311Y3

This commit is contained in:
2026-11-11 08:50:43 +08:00
parent 3428a94f6b
commit f459ef6a9e
12514 changed files with 2264376 additions and 468481 deletions
@@ -175,6 +175,10 @@ unsigned long ulSynchTrap(unsigned long mcause, unsigned long sp, unsigned long
printf("Dump Stack: \n");
vTaskDumpStack(NULL);
//_exit(mcause);
/*
* The while loop is necessary for risc-v trap handler.
*/
/* coverity[no_escape] */
do {}while(1);
}
@@ -204,6 +208,10 @@ void vPortExitCritical( void );
void vPortExitCritical( void )
{
configASSERT( uxCriticalNesting );
/*
* INTEGER_OVERFLOW is protected by configASSERT.
*/
/* coverity[INTEGER_OVERFLOW] */
uxCriticalNesting--;
if ( uxCriticalNesting == 0 )
{
@@ -294,6 +302,10 @@ void prvTaskExitError( void )
configASSERT( uxCriticalNesting == ~0UL );
portDISABLE_INTERRUPTS();
printf("prvTaskExitError\n");
/*
* The for loop is necessary for matching freertos OS task exit error.
*/
/* coverity[no_escape] */
for ( ;; );
}
/*-----------------------------------------------------------*/
@@ -420,6 +432,10 @@ void vBusRespERRHandler(void)
#else
printf("bl30 bus resp err: access limitation, stop!\n");
printf("mepc: 0x%lx, mbadaddr: 0x%lx\n", read_csr(mepc), read_csr(mbadaddr));
/*
* The while loop is necessary for handling the bus error.
*/
/* coverity[no_escape] */
do {} while (1);
#endif
}
@@ -476,4 +492,16 @@ void vPortSetup(void) {
vPortSetupSoftIRQ();
uxCriticalNesting = 0;
}
void vAssertCalled(const char *pcFileName, uint32_t ulLine)
{
taskDISABLE_INTERRUPTS();
printf("ASSERT: %s %ld\n", pcFileName, ulLine);
/*
* The for loop is necessary for matching Freertos OS assert logic.
*/
/* coverity[no_escape] */
for (;;)
;
}
/*-----------------------------------------------------------*/
@@ -432,9 +432,6 @@ irq_entry: // -------------> This label will be set to MTVT2 register
int_loop: // 3 instructions in pending-interrupt service loop.
csrrw ra, CSR_JALMNXTI, ra
csrrsi a0, CSR_MNXTI, MSTATUS_MIE // Claim any pending interrupt at level > mcause.pil
bnez a0, int_loop // Loop to service any interrupt.
/*have a chance to switch task*/
// li a2,40
// ecall
@@ -432,9 +432,6 @@ irq_entry: // -------------> This label will be set to MTVT2 register
int_loop: // 3 instructions in pending-interrupt service loop.
csrrw ra, CSR_JALMNXTI, ra
csrrsi a0, CSR_MNXTI, MSTATUS_MIE // Claim any pending interrupt at level > mcause.pil
bnez a0, int_loop // Loop to service any interrupt.
/*have a chance to switch task*/
// li a2,40
// ecall