Need help booting allmodconfig on arm64
Russell King - ARM Linux
linux at armlinux.org.uk
Thu Jun 1 15:50:13 PDT 2017
On Thu, Jun 01, 2017 at 05:43:20PM -0500, Timur Tabi wrote:
> I'm trying to boot an allmodconfig kernel on my arm64 ACPI system, and
> although I'm very close, I can't seem to get the kernel to boot the
> rootfs.
>
> I build using this command:
>
> make ARCH=arm64 KCONFIG_ALLCONFIG=boot-allmod.config allmodconfig
>
> where boot-allmod.config contains this:
>
> CONFIG_CPU_BIG_ENDIAN=n
> CONFIG_SERIAL_AMBA_PL011=y
> CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
> CONFIG_DEBUG_KOBJECT_RELEASE=n
> CONFIG_DEBUG_TEST_DRIVER_REMOVE=n
> CONFIG_KASAN=n
> CONFIG_FTRACE_STARTUP_TEST=n
> CONFIG_DEBUG_BLOCK_EXT_DEVT=n
> CONFIG_EXT4_FS=y
> CONFIG_SATA_AHCI=y
> CONFIG_SATA_AHCI_PLATFORM=y
> CONFIG_CMDLINE_FORCE=n
> CONFIG_DEBUG_WX=n
>
> The last few lines of dmesg are:
>
> 96.588564] ### dt-test ### FAIL
> of_unittest_overlay_high_level():2131 overlay_base_root not
> initialized
> [ 96.597878] ### dt-test ### end of unittest - 142 passed, 1 failed
> [ 96.604056] PM: Hibernation image not present or could not be loaded.
> [ 96.610767] Unable to open file: /etc/keys/x509_ima.der (-2)
> [ 96.610814] Unable to open file: /etc/keys/x509_evm.der (-2)
> [ 96.621504] Freeing unused kernel memory: 8192K
> [ 96.630749] rodata_test: all tests were successful
> [ 96.635768] Failed to execute /init (error -8)
>
> It boots to my initramfs, but not my SATA rootfs. I think the problem
> is that /init is a shell script, and there's no interpreter?
Have you checked that BINFMT_SCRIPT is not modular?
--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
More information about the linux-arm-kernel
mailing list