diff --git a/.config b/.config index d8a853f6..b20e6790 100644 --- a/.config +++ b/.config @@ -2670,6 +2670,7 @@ CONFIG_SERIAL_MESON_CONSOLE=y CONFIG_SERIAL_SAMSUNG=y CONFIG_SERIAL_SAMSUNG_UARTS_4=y CONFIG_SERIAL_SAMSUNG_UARTS=4 +# CONFIG_SERIAL_SAMSUNG_DEBUG is not set CONFIG_SERIAL_SAMSUNG_CONSOLE=y CONFIG_SERIAL_SIRFSOC=y CONFIG_SERIAL_SIRFSOC_CONSOLE=y @@ -7335,10 +7336,114 @@ CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y # CONFIG_DEBUG_WX is not set CONFIG_ARM_UNWIND=y # CONFIG_DEBUG_USER is not set -# CONFIG_DEBUG_LL is not set +CONFIG_DEBUG_LL=y +# CONFIG_DEBUG_ALPINE_UART0 is not set +# CONFIG_DEBUG_AT91_SAM9263_DBGU is not set +# CONFIG_DEBUG_AT91_SAMA5D2_UART1 is not set +# CONFIG_DEBUG_AT91_SAMA5D4_USART3 is not set +# CONFIG_DEBUG_BCM2836 is not set +# CONFIG_DEBUG_BCM_5301X is not set +# CONFIG_DEBUG_BCM_HR2 is not set +# CONFIG_DEBUG_BCM_IPROC_UART3 is not set +# CONFIG_DEBUG_BCM_KONA_UART is not set +# CONFIG_DEBUG_BCM63XX_UART is not set +# CONFIG_DEBUG_BERLIN_UART is not set +# CONFIG_DEBUG_BRCMSTB_UART is not set +# CONFIG_DEBUG_DIGICOLOR_UA0 is not set +# CONFIG_DEBUG_HI3620_UART is not set +# CONFIG_DEBUG_HIGHBANK_UART is not set +# CONFIG_DEBUG_HIP01_UART is not set +# CONFIG_DEBUG_HIP04_UART is not set +# CONFIG_DEBUG_HIX5HD2_UART is not set +# CONFIG_DEBUG_IMX50_UART is not set +# CONFIG_DEBUG_IMX51_UART is not set +# CONFIG_DEBUG_IMX53_UART is not set +# CONFIG_DEBUG_IMX6Q_UART is not set +# CONFIG_DEBUG_IMX6SL_UART is not set +# CONFIG_DEBUG_IMX6SX_UART is not set +# CONFIG_DEBUG_IMX6UL_UART is not set +# CONFIG_DEBUG_IMX7D_UART is not set +# CONFIG_DEBUG_KEYSTONE_UART0 is not set +# CONFIG_DEBUG_KEYSTONE_UART1 is not set +# CONFIG_DEBUG_MESON_UARTAO is not set +# CONFIG_DEBUG_MVEBU_UART0 is not set +# CONFIG_DEBUG_MVEBU_UART0_ALTERNATE is not set +# CONFIG_DEBUG_MVEBU_UART1_ALTERNATE is not set +# CONFIG_DEBUG_MT6589_UART0 is not set +# CONFIG_DEBUG_MT8127_UART0 is not set +# CONFIG_DEBUG_MT8135_UART3 is not set +# CONFIG_DEBUG_OMAP2UART1 is not set +# CONFIG_DEBUG_OMAP2UART2 is not set +# CONFIG_DEBUG_OMAP2UART3 is not set +# CONFIG_DEBUG_OMAP3UART3 is not set +# CONFIG_DEBUG_OMAP4UART3 is not set +# CONFIG_DEBUG_OMAP3UART4 is not set +# CONFIG_DEBUG_OMAP4UART4 is not set +# CONFIG_DEBUG_TI81XXUART1 is not set +# CONFIG_DEBUG_TI81XXUART2 is not set +# CONFIG_DEBUG_TI81XXUART3 is not set +# CONFIG_DEBUG_AM33XXUART1 is not set +# CONFIG_DEBUG_ZOOM_UART is not set +# CONFIG_DEBUG_QCOM_UARTDM is not set +# CONFIG_DEBUG_RV1108_UART0 is not set +# CONFIG_DEBUG_RV1108_UART1 is not set +# CONFIG_DEBUG_RV1108_UART2 is not set +# CONFIG_DEBUG_RK29_UART0 is not set +# CONFIG_DEBUG_RK29_UART1 is not set +# CONFIG_DEBUG_RK29_UART2 is not set +# CONFIG_DEBUG_RK3X_UART0 is not set +# CONFIG_DEBUG_RK3X_UART1 is not set +# CONFIG_DEBUG_RK3X_UART2 is not set +# CONFIG_DEBUG_RK3X_UART3 is not set +# CONFIG_DEBUG_RK32_UART2 is not set +# CONFIG_DEBUG_R7S72100_SCIF2 is not set +# CONFIG_DEBUG_RCAR_GEN1_SCIF0 is not set +# CONFIG_DEBUG_RCAR_GEN1_SCIF2 is not set +# CONFIG_DEBUG_RCAR_GEN2_SCIF0 is not set +# CONFIG_DEBUG_RCAR_GEN2_SCIF2 is not set +# CONFIG_DEBUG_RCAR_GEN2_SCIF4 is not set +# CONFIG_DEBUG_RMOBILE_SCIFA0 is not set +# CONFIG_DEBUG_RMOBILE_SCIFA1 is not set +# CONFIG_DEBUG_RMOBILE_SCIFA4 is not set +# CONFIG_DEBUG_S3C_UART0 is not set +# CONFIG_DEBUG_S3C_UART1 is not set +# CONFIG_DEBUG_S3C_UART2 is not set +# CONFIG_DEBUG_S3C_UART3 is not set +# CONFIG_DEBUG_SOCFPGA_UART0 is not set +# CONFIG_DEBUG_SOCFPGA_UART1 is not set +# CONFIG_DEBUG_SUN9I_UART0 is not set +# CONFIG_DEBUG_SUNXI_UART0 is not set +# CONFIG_DEBUG_SUNXI_UART1 is not set +# CONFIG_DEBUG_SUNXI_R_UART is not set +# CONFIG_DEBUG_SIRFPRIMA2_UART1 is not set +# CONFIG_DEBUG_SIRFATLAS7_UART0 is not set +# CONFIG_DEBUG_SIRFATLAS7_UART1 is not set +# CONFIG_DEBUG_SPEAR13XX is not set +# CONFIG_STIH41X_DEBUG_ASC2 is not set +# CONFIG_STIH41X_DEBUG_SBC_ASC1 is not set +# CONFIG_TEGRA_DEBUG_UART_AUTO_ODMDATA is not set +# CONFIG_TEGRA_DEBUG_UARTA is not set +# CONFIG_TEGRA_DEBUG_UARTB is not set +# CONFIG_TEGRA_DEBUG_UARTC is not set +# CONFIG_TEGRA_DEBUG_UARTD is not set +# CONFIG_TEGRA_DEBUG_UARTE is not set +# CONFIG_DEBUG_UX500_UART is not set +# CONFIG_DEBUG_VEXPRESS_UART0_DETECT is not set +# CONFIG_DEBUG_VEXPRESS_UART0_CA9 is not set +# CONFIG_DEBUG_VEXPRESS_UART0_RS1 is not set +# CONFIG_DEBUG_VF_UART is not set +# CONFIG_DEBUG_VT8500_UART0 is not set +# CONFIG_DEBUG_ZYNQ_UART0 is not set +CONFIG_DEBUG_ZYNQ_UART1=y +# CONFIG_DEBUG_ICEDCC is not set +# CONFIG_DEBUG_SEMIHOSTING is not set +# CONFIG_DEBUG_LL_UART_8250 is not set +# CONFIG_DEBUG_LL_UART_PL01X is not set CONFIG_DEBUG_IMX_UART_PORT=1 CONFIG_DEBUG_VF_UART_PORT=1 -CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S" +CONFIG_DEBUG_LL_INCLUDE="debug/zynq.S" +CONFIG_DEBUG_UNCOMPRESS=y CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h" +CONFIG_EARLY_PRINTK=y # CONFIG_PID_IN_CONTEXTIDR is not set # CONFIG_CORESIGHT is not set diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S index 517e0e18..cc534223 100644 --- a/arch/arm/boot/compressed/head.S +++ b/arch/arm/boot/compressed/head.S @@ -24,6 +24,8 @@ * 100% relocatable. Any attempt to do so will result in a crash. * Please select one of the following when turning on debugging. */ +#define DEBUG + #ifdef DEBUG #if defined(CONFIG_DEBUG_ICEDCC) diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index 0cc8e042..8114b595 100644 --- a/arch/arm/mm/init.c +++ b/arch/arm/mm/init.c @@ -451,6 +451,7 @@ static void __init free_highpages(void) unsigned long start = memblock_region_memory_base_pfn(mem); unsigned long end = memblock_region_memory_end_pfn(mem); + /* Ignore complete lowmem entries */ if (end <= max_low) continue; @@ -462,6 +463,8 @@ static void __init free_highpages(void) if (start < max_low) start = max_low; + pr_notice("high freeing 0x%08lx - 0x%08lx\n",start,end); + /* Find and exclude any reserved regions */ for_each_memblock(reserved, res) { unsigned long res_start, res_end;