Skip to content

Commit

Permalink
x64: add EFI Image boot from emmc SSD support
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsnowwolf committed Jun 23, 2020
1 parent d9dc1d4 commit 378ca0f
Show file tree
Hide file tree
Showing 9 changed files with 1,795 additions and 9 deletions.
5 changes: 2 additions & 3 deletions config/Config-images.in
Original file line number Diff line number Diff line change
Expand Up @@ -202,13 +202,12 @@ menu "Target Images"
depends on TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
select PACKAGE_grub2
select PACKAGE_grub2-efi
default n
default y

config GRUB_CONSOLE
bool "Use Console Terminal (in addition to Serial)"
depends on GRUB_IMAGES || EFI_IMAGES
default n if (TARGET_x86_generic_Soekris45xx || TARGET_x86_generic_Soekris48xx || TARGET_x86_net5501 || TARGET_x86_geos || TARGET_x86_alix2)
default y
default n

config GRUB_SERIAL
string "Serial port device"
Expand Down
19 changes: 19 additions & 0 deletions target/linux/generic/files/drivers/platform/mikrotik/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
menuconfig MIKROTIK
bool "Platform support for MikroTik RouterBoard virtual devices"
default n
help
Say Y here to get to see options for the MikroTik RouterBoard platform.
This option alone does not add any kernel code.


if MIKROTIK

config MIKROTIK_RB_SYSFS
tristate "RouterBoot sysfs support"
depends on MTD
select LZO_DECOMPRESS
select CRC32
help
This driver exposes RouterBoot configuration in sysfs.

endif # MIKROTIK
4 changes: 4 additions & 0 deletions target/linux/generic/files/drivers/platform/mikrotik/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#
# Makefile for MikroTik RouterBoard platform specific drivers
#
obj-$(CONFIG_MIKROTIK_RB_SYSFS) += routerboot.o rb_hardconfig.o rb_softconfig.o
Loading

0 comments on commit 378ca0f

Please sign in to comment.