Support rk3568.(TODO: fix userland)
This commit is contained in:
@@ -12,7 +12,7 @@ endif
|
||||
ifeq ($(BOARD), ok1028a-c)
|
||||
toolchain ?= aarch64-none-elf-
|
||||
user_ldflags = -N -Ttext 0
|
||||
cflags = -Wall -g -std=c11 -mtune=cortex-a55 -nostdlib -nodefaultlibs -fno-pic -static -fno-builtin -fno-strict-aliasing -Wall -ggdb -Wno-unused -Werror -fno-omit-frame-pointer -fno-stack-protector -fno-pie
|
||||
cflags = -Wall -O0 -g -std=c11 -mtune=cortex-a55 -nostdlib -nodefaultlibs -fno-pic -static -fno-builtin -fno-strict-aliasing -Wall -ggdb -Wno-unused -Werror -fno-omit-frame-pointer -fno-stack-protector -fno-pie
|
||||
endif
|
||||
|
||||
cc = ${toolchain}gcc
|
||||
|
||||
@@ -349,6 +349,7 @@ IPC_SERVER_REGISTER_INTERFACES(IpcFsServer, 10,
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
printf("MemFS Start\n");
|
||||
sys_state_info info;
|
||||
get_memblock_info(&info);
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
// Block size
|
||||
#define BLOCK_SIZE 512
|
||||
#define NR_BIT_BLOCKS 2
|
||||
#define NR_BIT_BLOCKS 8
|
||||
|
||||
// bits size
|
||||
#define BITS 8
|
||||
|
||||
Reference in New Issue
Block a user