Initial commit, with buildroot submodule
This commit is contained in:
commit
bd882ee3cf
9 changed files with 235 additions and 0 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "buildroot"]
|
||||||
|
path = buildroot
|
||||||
|
url = git://git.busybox.net/buildroot
|
0
Config.in
Normal file
0
Config.in
Normal file
146
board/businesscard/v1/linux_defconfig
Normal file
146
board/businesscard/v1/linux_defconfig
Normal file
|
@ -0,0 +1,146 @@
|
||||||
|
CONFIG_NO_HZ=y
|
||||||
|
CONFIG_HIGH_RES_TIMERS=y
|
||||||
|
CONFIG_CGROUPS=y
|
||||||
|
CONFIG_BLK_DEV_INITRD=y
|
||||||
|
CONFIG_PERF_EVENTS=y
|
||||||
|
# CONFIG_ARCH_MULTI_V7 is not set
|
||||||
|
CONFIG_ARCH_SUNXI=y
|
||||||
|
CONFIG_AEABI=y
|
||||||
|
CONFIG_HIGHMEM=y
|
||||||
|
CONFIG_ARM_APPENDED_DTB=y
|
||||||
|
CONFIG_ARM_ATAG_DTB_COMPAT=y
|
||||||
|
CONFIG_CPU_FREQ=y
|
||||||
|
CONFIG_CPUFREQ_DT=y
|
||||||
|
CONFIG_VFP=y
|
||||||
|
CONFIG_STRICT_KERNEL_RWX=y
|
||||||
|
# CONFIG_BLK_DEV_BSG is not set
|
||||||
|
# CONFIG_MQ_IOSCHED_DEADLINE is not set
|
||||||
|
# CONFIG_MQ_IOSCHED_KYBER is not set
|
||||||
|
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
|
||||||
|
CONFIG_NET=y
|
||||||
|
CONFIG_PACKET=y
|
||||||
|
CONFIG_UNIX=y
|
||||||
|
CONFIG_INET=y
|
||||||
|
CONFIG_IP_PNP=y
|
||||||
|
CONFIG_IP_PNP_DHCP=y
|
||||||
|
CONFIG_IP_PNP_BOOTP=y
|
||||||
|
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
||||||
|
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
||||||
|
# CONFIG_INET_XFRM_MODE_BEET is not set
|
||||||
|
# CONFIG_INET_DIAG is not set
|
||||||
|
# CONFIG_IPV6 is not set
|
||||||
|
CONFIG_DNS_RESOLVER=y
|
||||||
|
# CONFIG_WIRELESS is not set
|
||||||
|
CONFIG_DEVTMPFS=y
|
||||||
|
CONFIG_DEVTMPFS_MOUNT=y
|
||||||
|
CONFIG_SUNXI_RSB=y
|
||||||
|
CONFIG_MTD=y
|
||||||
|
CONFIG_MTD_SPI_NOR=y
|
||||||
|
CONFIG_MTD_UBI=y
|
||||||
|
CONFIG_MTD_UBI_FASTMAP=y
|
||||||
|
CONFIG_MTD_UBI_BLOCK=y
|
||||||
|
CONFIG_BLK_DEV_SD=y
|
||||||
|
CONFIG_ATA=y
|
||||||
|
CONFIG_AHCI_SUNXI=y
|
||||||
|
CONFIG_NETDEVICES=y
|
||||||
|
CONFIG_SUN4I_EMAC=y
|
||||||
|
# CONFIG_NET_VENDOR_ARC is not set
|
||||||
|
# CONFIG_NET_VENDOR_BROADCOM is not set
|
||||||
|
# CONFIG_NET_VENDOR_CIRRUS is not set
|
||||||
|
# CONFIG_NET_VENDOR_FARADAY is not set
|
||||||
|
# CONFIG_NET_VENDOR_INTEL is not set
|
||||||
|
# CONFIG_NET_VENDOR_MARVELL is not set
|
||||||
|
# CONFIG_NET_VENDOR_MICREL is not set
|
||||||
|
# CONFIG_NET_VENDOR_MICROCHIP is not set
|
||||||
|
# CONFIG_NET_VENDOR_NATSEMI is not set
|
||||||
|
# CONFIG_NET_VENDOR_SAMSUNG is not set
|
||||||
|
# CONFIG_NET_VENDOR_SEEQ is not set
|
||||||
|
# CONFIG_NET_VENDOR_SMSC is not set
|
||||||
|
CONFIG_STMMAC_ETH=y
|
||||||
|
# CONFIG_NET_VENDOR_VIA is not set
|
||||||
|
# CONFIG_NET_VENDOR_WIZNET is not set
|
||||||
|
# CONFIG_WLAN is not set
|
||||||
|
CONFIG_INPUT_EVDEV=y
|
||||||
|
CONFIG_KEYBOARD_SUN4I_LRADC=y
|
||||||
|
# CONFIG_INPUT_MOUSE is not set
|
||||||
|
CONFIG_INPUT_TOUCHSCREEN=y
|
||||||
|
CONFIG_TOUCHSCREEN_SUN4I=y
|
||||||
|
CONFIG_INPUT_MISC=y
|
||||||
|
CONFIG_INPUT_AXP20X_PEK=y
|
||||||
|
CONFIG_SERIAL_8250=y
|
||||||
|
CONFIG_SERIAL_8250_CONSOLE=y
|
||||||
|
CONFIG_SERIAL_8250_NR_UARTS=8
|
||||||
|
CONFIG_SERIAL_8250_RUNTIME_UARTS=8
|
||||||
|
CONFIG_SERIAL_8250_DW=y
|
||||||
|
CONFIG_SERIAL_OF_PLATFORM=y
|
||||||
|
# CONFIG_HW_RANDOM is not set
|
||||||
|
CONFIG_I2C_CHARDEV=y
|
||||||
|
CONFIG_I2C_MV64XXX=y
|
||||||
|
CONFIG_GPIO_SYSFS=y
|
||||||
|
CONFIG_POWER_SUPPLY=y
|
||||||
|
CONFIG_CHARGER_AXP20X=y
|
||||||
|
CONFIG_BATTERY_AXP20X=y
|
||||||
|
CONFIG_AXP20X_POWER=y
|
||||||
|
CONFIG_THERMAL=y
|
||||||
|
CONFIG_CPU_THERMAL=y
|
||||||
|
CONFIG_WATCHDOG=y
|
||||||
|
CONFIG_SUNXI_WATCHDOG=y
|
||||||
|
CONFIG_MFD_AC100=y
|
||||||
|
CONFIG_MFD_AXP20X_I2C=y
|
||||||
|
CONFIG_MFD_AXP20X_RSB=y
|
||||||
|
CONFIG_MFD_SUN6I_PRCM=y
|
||||||
|
CONFIG_REGULATOR=y
|
||||||
|
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
||||||
|
CONFIG_REGULATOR_AXP20X=y
|
||||||
|
CONFIG_REGULATOR_GPIO=y
|
||||||
|
CONFIG_DRM=y
|
||||||
|
CONFIG_DRM_SUN4I=y
|
||||||
|
CONFIG_DRM_SUN6I_DSI=y
|
||||||
|
CONFIG_DRM_SUN8I_MIXER=y
|
||||||
|
CONFIG_DRM_DUMB_VGA_DAC=y
|
||||||
|
CONFIG_FB_SIMPLE=y
|
||||||
|
CONFIG_USB=y
|
||||||
|
CONFIG_USB_EHCI_HCD=y
|
||||||
|
CONFIG_USB_EHCI_HCD_PLATFORM=y
|
||||||
|
CONFIG_USB_OHCI_HCD=y
|
||||||
|
CONFIG_USB_OHCI_HCD_PLATFORM=y
|
||||||
|
CONFIG_USB_MUSB_HDRC=y
|
||||||
|
CONFIG_USB_MUSB_SUNXI=y
|
||||||
|
CONFIG_NOP_USB_XCEIV=y
|
||||||
|
CONFIG_USB_GADGET=y
|
||||||
|
CONFIG_NEW_LEDS=y
|
||||||
|
CONFIG_LEDS_CLASS=y
|
||||||
|
CONFIG_LEDS_GPIO=y
|
||||||
|
CONFIG_LEDS_TRIGGERS=y
|
||||||
|
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||||
|
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
||||||
|
CONFIG_RTC_CLASS=y
|
||||||
|
# CONFIG_RTC_INTF_SYSFS is not set
|
||||||
|
# CONFIG_RTC_INTF_PROC is not set
|
||||||
|
CONFIG_RTC_DRV_AC100=y
|
||||||
|
CONFIG_RTC_DRV_SUN6I=y
|
||||||
|
# CONFIG_VIRTIO_MENU is not set
|
||||||
|
# CONFIG_IOMMU_SUPPORT is not set
|
||||||
|
CONFIG_IIO=y
|
||||||
|
CONFIG_AXP20X_ADC=y
|
||||||
|
CONFIG_PWM=y
|
||||||
|
CONFIG_PWM_SUN4I=y
|
||||||
|
CONFIG_PHY_SUN4I_USB=y
|
||||||
|
CONFIG_PHY_SUN9I_USB=y
|
||||||
|
CONFIG_NVMEM_SUNXI_SID=y
|
||||||
|
CONFIG_VFAT_FS=y
|
||||||
|
CONFIG_TMPFS=y
|
||||||
|
CONFIG_UBIFS_FS=y
|
||||||
|
CONFIG_SQUASHFS=y
|
||||||
|
CONFIG_SQUASHFS_FILE_DIRECT=y
|
||||||
|
# CONFIG_SQUASHFS_ZLIB is not set
|
||||||
|
CONFIG_SQUASHFS_XZ=y
|
||||||
|
# CONFIG_NETWORK_FILESYSTEMS is not set
|
||||||
|
CONFIG_NLS_CODEPAGE_437=y
|
||||||
|
CONFIG_NLS_ISO8859_1=y
|
||||||
|
CONFIG_KEYS=y
|
||||||
|
CONFIG_CRYPTO_CRC32C=y
|
||||||
|
CONFIG_CRYPTO_DEV_SUN4I_SS=y
|
||||||
|
CONFIG_PRINTK_TIME=y
|
||||||
|
CONFIG_DEBUG_FS=y
|
||||||
|
CONFIG_UNWINDER_FRAME_POINTER=y
|
34
board/businesscard/v1/uboot_defconfig
Normal file
34
board/businesscard/v1/uboot_defconfig
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
CONFIG_ARM=y
|
||||||
|
CONFIG_ARCH_SUNXI=y
|
||||||
|
# CONFIG_SPL_GPIO_SUPPORT is not set
|
||||||
|
CONFIG_ENV_SIZE=0x8000
|
||||||
|
CONFIG_ENV_OFFSET=0xf8000
|
||||||
|
# CONFIG_SPL_LIBDISK_SUPPORT is not set
|
||||||
|
CONFIG_MACH_SUNIV=y
|
||||||
|
CONFIG_DRAM_CLK=156
|
||||||
|
CONFIG_DRAM_ZQ=0
|
||||||
|
# CONFIG_VIDEO_SUNXI is not set
|
||||||
|
CONFIG_DEFAULT_DEVICE_TREE="suniv-f1c100s-licheepi-nano"
|
||||||
|
CONFIG_SPL=y
|
||||||
|
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
||||||
|
CONFIG_SPL_MTD_SUPPORT=y
|
||||||
|
# CONFIG_SPL_POWER_SUPPORT is not set
|
||||||
|
CONFIG_SPL_RAM_SUPPORT=y
|
||||||
|
CONFIG_SPL_RAM_DEVICE=y
|
||||||
|
# CONFIG_CMD_FLASH is not set
|
||||||
|
# CONFIG_CMD_FPGA is not set
|
||||||
|
CONFIG_CMD_SF=y
|
||||||
|
CONFIG_CMD_SPI=y
|
||||||
|
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||||
|
# CONFIG_MMC is not set
|
||||||
|
CONFIG_DM_SPI_FLASH=y
|
||||||
|
CONFIG_SPI_FLASH=y
|
||||||
|
CONFIG_SPI_FLASH_BAR=y
|
||||||
|
CONFIG_SPI_FLASH_GIGADEVICE=y
|
||||||
|
CONFIG_SPI_FLASH_MACRONIX=y
|
||||||
|
CONFIG_SPI_FLASH_WINBOND=y
|
||||||
|
CONFIG_SPL_SPI_SUNXI=y
|
||||||
|
# CONFIG_NETDEVICES is not set
|
||||||
|
# CONFIG_SPL_DM_SERIAL is not set
|
||||||
|
CONFIG_DM_SPI=y
|
||||||
|
CONFIG_SUN6I_SPI=y
|
1
buildroot
Submodule
1
buildroot
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit e783d60473944f8b39f1def45d8d6b483a062158
|
48
configs/thirtythreeforty_businesscard_defconfig
Normal file
48
configs/thirtythreeforty_businesscard_defconfig
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
BR2_arm=y
|
||||||
|
BR2_SVN="svn"
|
||||||
|
BR2_CCACHE=y
|
||||||
|
BR2_SHARED_STATIC_LIBS=y
|
||||||
|
BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_BUSINESSCARD_PATH)/patches"
|
||||||
|
BR2_KERNEL_HEADERS_5_0=y
|
||||||
|
# BR2_UCLIBC_INSTALL_UTILS is not set
|
||||||
|
BR2_GCC_VERSION_8_X=y
|
||||||
|
BR2_TOOLCHAIN_BUILDROOT_CXX=y
|
||||||
|
BR2_TARGET_GENERIC_HOSTNAME="linuxcard"
|
||||||
|
BR2_TARGET_GENERIC_ISSUE="Welcome to Businesscard Linux!"
|
||||||
|
BR2_TARGET_GENERIC_GETTY_PORT="/dev/ttyS0"
|
||||||
|
BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y
|
||||||
|
# BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set
|
||||||
|
BR2_LINUX_KERNEL=y
|
||||||
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||||
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_BUSINESSCARD_PATH)/board/businesscard/v1/linux_defconfig"
|
||||||
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||||
|
BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="$(BR2_EXTERNAL_BUSINESSCARD_PATH)/board/businesscard/v1/dts/businesscard.dts"
|
||||||
|
BR2_PACKAGE_DHRYSTONE=y
|
||||||
|
BR2_PACKAGE_FIO=y
|
||||||
|
BR2_PACKAGE_LMBENCH=y
|
||||||
|
BR2_PACKAGE_STRESS=y
|
||||||
|
BR2_PACKAGE_SDL=y
|
||||||
|
# BR2_PACKAGE_SDL_FBCON is not set
|
||||||
|
BR2_PACKAGE_SDL_MIXER=y
|
||||||
|
BR2_PACKAGE_SDL_NET=y
|
||||||
|
BR2_PACKAGE_MEMTESTER=y
|
||||||
|
# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
|
||||||
|
BR2_PACKAGE_FILE=y
|
||||||
|
BR2_PACKAGE_CPULOAD=y
|
||||||
|
BR2_TARGET_ROOTFS_SQUASHFS=y
|
||||||
|
BR2_TARGET_ROOTFS_SQUASHFS4_LZMA=y
|
||||||
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
|
BR2_TARGET_UBOOT=y
|
||||||
|
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
||||||
|
BR2_TARGET_UBOOT_CUSTOM_GIT=y
|
||||||
|
BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/Lichee-Pi/u-boot.git"
|
||||||
|
BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="013ca457fd64b72444a0f5f480b1bbdd8b7481eb"
|
||||||
|
BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y
|
||||||
|
BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_BUSINESSCARD_PATH)/board/businesscard/v1/uboot_defconfig"
|
||||||
|
BR2_TARGET_UBOOT_NEEDS_DTC=y
|
||||||
|
BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
|
||||||
|
# BR2_TARGET_UBOOT_FORMAT_BIN is not set
|
||||||
|
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
|
||||||
|
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin"
|
||||||
|
BR2_PACKAGE_HOST_MKPASSWD=y
|
||||||
|
BR2_PACKAGE_HOST_SUNXI_TOOLS=y
|
2
external.desc
Normal file
2
external.desc
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
name: BUSINESSCARD
|
||||||
|
desc: Businesscard Linux distribution
|
1
external.mk
Normal file
1
external.mk
Normal file
|
@ -0,0 +1 @@
|
||||||
|
include $(sort $(wildcard $(BR2_EXTERNAL_BUSINESSCARD_PATH)/package/*/*.mk))
|
0
patches/.gitignore
vendored
Normal file
0
patches/.gitignore
vendored
Normal file
Loading…
Reference in a new issue