Build fails for u-boot jpg driver using defconfig sg2002_licheea53nano_sd #108
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
maxpeterkaya/LicheeRV-Nano-Build#108
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Title says everything. Build for risc-v works ok. But for a53 there is an error as below:
/workdir/u-boot-2021.10/drivers/jpeg/jpurun.c: In function ‘copy_to_dest_addr’: /workdir/u-boot-2021.10/drivers/jpeg/jpurun.c:113:2: error: implicit declaration of function ‘flush_dcache_range’ [-Werror=implicit-function-declaration] flush_dcache_range((unsigned long)pRefYuv, (unsigned long)pRefYuv + lumaSize + chromaSize + chromaSize); ^~~~~~~~~~~~~~~~~~ CC drivers/video/panel-uclass.o /workdir/u-boot-2021.10/drivers/jpeg/jdi.c: In function ‘jdi_write_register’: /workdir/u-boot-2021.10/drivers/jpeg/jdi.c:226:2: error: implicit declaration of function ‘flush_dcache_range’ [-Werror=implicit-function-declaration] flush_dcache_range(reg_addr, reg_addr + sizeof(unsigned int)); ^~~~~~~~~~~~~~~~~~ /workdir/u-boot-2021.10/drivers/jpeg/jdi.c: In function ‘jdi_read_register’: /workdir/u-boot-2021.10/drivers/jpeg/jdi.c:237:2: error: implicit declaration of function ‘invalidate_dcache_range’ [-Werror=implicit-function-declaration] invalidate_dcache_range(reg_addr, reg_addr + sizeof(unsigned int)); ^~~~~~~~~~~~~~~~~~~~~~~ /workdir/u-boot-2021.10/drivers/jpeg/jdi_osal.c: In function ‘josal_memcpy’: /workdir/u-boot-2021.10/drivers/jpeg/jdi_osal.c:107:2: error: implicit declaration of function ‘flush_dcache_range’ [-Werror=implicit-function-declaration] flush_dcache_range((unsigned long)dst, count); ^~~~~~~~~~~~~~~~~~ CC drivers/video/simple_panel.o /workdir/u-boot-2021.10/drivers/jpeg/jdi_osal.c: In function ‘jinv_dcache_range’: /workdir/u-boot-2021.10/drivers/jpeg/jdi_osal.c:409:2: error: implicit declaration of function ‘invalidate_dcache_range’ [-Werror=implicit-function-declaration] invalidate_dcache_range(start, size); ^~~~~~~~~~~~~~~~~~~~~~~When I've fixed temporary by adding functions declarations to files I've encountered another problem:
Got the same problem