cleanup fonts out of the loader for bao1x target

This commit is contained in:
bunnie 2025-09-25 16:12:26 +08:00
parent 9434bb5383
commit a8f90dd71b
3 changed files with 1 additions and 21 deletions

View file

@ -21,16 +21,3 @@ pub mod regular;
pub mod tall;
#[cfg(not(feature = "bao1x"))]
pub mod small;
#[cfg(feature = "bao1x")]
pub mod emoji;
#[cfg(feature = "bao1x")]
pub mod bold;
#[cfg(feature = "bao1x")]
pub mod mono;
#[cfg(feature = "bao1x")]
pub mod regular;
#[cfg(feature = "bao1x")]
pub mod tall;
#[cfg(feature = "bao1x")]
pub mod small;

View file

@ -157,7 +157,7 @@ pub unsafe extern "C" fn rust_entry(signed_buffer: *const usize, signature: u32)
#[cfg(all(feature = "secboot", not(feature = "vexii-test")))]
let mut fs_prehash = [0u8; 64];
#[cfg(not(all(feature = "secboot", not(feature = "vexii-test"))))]
let mut fs_prehash = [0u8; 64];
let fs_prehash = [0u8; 64];
#[cfg(all(feature = "secboot", not(feature = "vexii-test")))]
if !secboot::validate_xous_img(signed_buffer as *const u32, &mut fs_prehash) {
loop {}

View file

@ -1,7 +1,5 @@
MEMORY
{
/* if the font location is adjusted, this needs to be updated in libs/blitstr2 codegen templates.go FONT_BASE value */
FONTS : ORIGIN = 0x60040000, LENGTH = 128k
FLASH : ORIGIN = 0x60001100, LENGTH = 252k - 256
RAM : ORIGIN = 0x61000000, LENGTH = 2M
}
@ -87,11 +85,6 @@ SECTIONS
_edata = .;
} > REGION_DATA AT > REGION_RODATA
.fonts : ALIGN(65536)
{
KEEP(*(.fontdata));
} > FONTS
.bss (NOLOAD) :
{
_sbss = .;