Skip to content

Commit

Permalink
config: add virt32/64_fb_defconfig based on virt32/64_defconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreCostaaa committed Feb 24, 2025
1 parent 2df5f22 commit fc533c1
Show file tree
Hide file tree
Showing 2 changed files with 173 additions and 0 deletions.
86 changes: 86 additions & 0 deletions so3/configs/virt32_fb_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
CONFIG_ARCH_ARM32=y
# CONFIG_ARCH_ARM64 is not set
# CONFIG_SO3VIRT is not set
CONFIG_ARCH="arm32"
CONFIG_CROSS_COMPILE="arm-none-eabi-"
# CONFIG_ARM_TRUSTZONE is not set

#
# Platform
#
CONFIG_KERNEL_VADDR=0xc0000000
CONFIG_VIRT32=y
# CONFIG_RPI4 is not set
# end of Platform

# CONFIG_THREAD_ENV is not set
CONFIG_PROC_ENV=y

#
# Kernel & CPU features
#
# CONFIG_SMP is not set
CONFIG_NR_CPUS=1
CONFIG_HZ=100
CONFIG_SCHED_FLIP_SCHEDFREQ=30
# end of Kernel & CPU features

#
# SO3 Scheduling configuration
#
CONFIG_SCHED_RR=y
# CONFIG_SCHED_PRIO is not set
CONFIG_SCHED_FREQ_PREEMPTION=y
# end of SO3 Scheduling configuration

#
# Drivers
#
CONFIG_UART=y
CONFIG_IO_MAPPING_BASE=0xe0000000
# CONFIG_I2C is not set
# CONFIG_NET is not set
CONFIG_FB=y
CONFIG_INPUT=y
# CONFIG_NS16550 is not set
CONFIG_PL011_UART=y
CONFIG_UART_LL_PADDR=0x9000000
# CONFIG_MMC is not set
CONFIG_RAMDEV=y
# CONFIG_SP804 is not set
CONFIG_ARM_TIMER=y
CONFIG_GIC=y
CONFIG_PL111_CLCD=y
# CONFIG_QEMU_RAMFB is not set
CONFIG_PL050_KMI=y
# end of Drivers

#
# SO3 Applications
#
# CONFIG_APP_SAMPLE is not set
# CONFIG_APP_REFSO3 is not set
# end of SO3 Applications

#
# Filesystems
#
CONFIG_FS_FAT=y
# CONFIG_ROOTFS_NONE is not set
# CONFIG_ROOTFS_MMC is not set
CONFIG_ROOTFS_RAMDEV=y
# end of Filesystems

#
# IPC
#
CONFIG_IPC_SIGNAL=y
CONFIG_IPC_PIPE=y
# end of IPC

CONFIG_HEAP_SIZE=32
# CONFIG_RTOS is not set
# CONFIG_AVZ is not set
# CONFIG_SOO is not set
CONFIG_MMU=y
CONFIG_DEBUG_PRINTK=y
87 changes: 87 additions & 0 deletions so3/configs/virt64_fb_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# CONFIG_ARCH_ARM32 is not set
CONFIG_ARCH_ARM64=y
# CONFIG_SO3VIRT is not set
CONFIG_ARCH="arm64"
CONFIG_CROSS_COMPILE="aarch64-none-linux-gnu-"
# CONFIG_ARM_TRUSTZONE is not set
CONFIG_KERNEL_VADDR=0xffff800000000000

#
# Platform
#
CONFIG_VIRT64=y
# CONFIG_RPI4_64 is not set
# CONFIG_VA_BITS_39 is not set
CONFIG_VA_BITS_48=y
# end of Platform

# CONFIG_THREAD_ENV is not set
CONFIG_PROC_ENV=y

#
# Kernel & CPU features
#
# CONFIG_SMP is not set
CONFIG_NR_CPUS=1
CONFIG_HZ=100
CONFIG_SCHED_FLIP_SCHEDFREQ=30
# end of Kernel & CPU features

#
# SO3 Scheduling configuration
#
CONFIG_SCHED_RR=y
# CONFIG_SCHED_PRIO is not set
CONFIG_SCHED_FREQ_PREEMPTION=y
# end of SO3 Scheduling configuration

#
# Drivers
#
CONFIG_UART=y
CONFIG_IO_MAPPING_BASE=0xffff900000000000
# CONFIG_I2C is not set
# CONFIG_NET is not set
CONFIG_FB=y
CONFIG_INPUT=y
# CONFIG_NS16550 is not set
CONFIG_PL011_UART=y
CONFIG_UART_LL_PADDR=0x09000000
# CONFIG_MMC is not set
CONFIG_RAMDEV=y
CONFIG_ARM_TIMER=y
CONFIG_GIC=y
CONFIG_PL111_CLCD=y
# CONFIG_QEMU_RAMFB is not set
CONFIG_PL050_KMI=y
# end of Drivers

#
# SO3 Applications
#
CONFIG_APP_SAMPLE=y
# CONFIG_APP_REFSO3 is not set
# end of SO3 Applications

#
# Filesystems
#
CONFIG_FS_FAT=y
# CONFIG_ROOTFS_NONE is not set
# CONFIG_ROOTFS_MMC is not set
CONFIG_ROOTFS_RAMDEV=y
# end of Filesystems

#
# IPC
#
CONFIG_IPC_SIGNAL=y
CONFIG_IPC_PIPE=y
# end of IPC

CONFIG_HEAP_SIZE=8
# CONFIG_RTOS is not set
# CONFIG_AVZ is not set
# CONFIG_SOO is not set
CONFIG_MMU=y
# CONFIG_DEBUG_PRINTK is not set

0 comments on commit fc533c1

Please sign in to comment.