Fast Boot Linux with u-Boot Falcon Mode
https://embexus.com/2017/05/07/fast-boot-linux-with-u-boot-falcon-mode/
离线
好像是开启 CONFIG_SPL_OS_BOOT 开关就行了?
离线
好像是开启 CONFIG_SPL_OS_BOOT 开关就行了?
全志的看来没戏了,
arch/arm/mach-sunxi/spl_spi_sunxi.c
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2016 Siarhei Siamashka <siarhei.siamashka@gmail.com>
*/
#include <common.h>
#include <image.h>
#include <log.h>
#include <spl.h>
#include <asm/gpio.h>
#include <asm/io.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/libfdt.h>
#include <asm/arch/spl.h>
#ifdef CONFIG_SPL_OS_BOOT
#error CONFIG_SPL_OS_BOOT is not supported yet
#endif
编译出错:
COPY u-boot.bin
SYM u-boot.sym
CC spl/arch/arm/mach-sunxi/spl_spi_sunxi.o
arch/arm/mach-sunxi/spl_spi_sunxi.c:18:2: error: #error CONFIG_SPL_OS_BOOT is not supported yet
#error CONFIG_SPL_OS_BOOT is not supported yet
^~~~~
scripts/Makefile.build:265: recipe for target 'spl/arch/arm/mach-sunxi/spl_spi_sunxi.o' failed
make[2]: *** [spl/arch/arm/mach-sunxi/spl_spi_sunxi.o] Error 1
scripts/Makefile.spl:428: recipe for target 'spl/arch/arm/mach-sunxi' failed
make[1]: *** [spl/arch/arm/mach-sunxi] Error 2
Makefile:1926: recipe for target 'spl/u-boot-spl' failed
make: *** [spl/u-boot-spl] Error 2
#
#
离线
TI的AM335X系列有这个功能。
离线