HI All,
I am working on raspberri pi3
Trying to print "Uncompressing Linux...done, booting the kernel" (arch/arm/boot/compressed/misc.c).
For this enabled below configs
CONFIG_DEBUG_LL=y
CONFIG_DEBUG_LL_UART_8250=y
CONFIG_DEBUG_UART_PHYS=0x3f215000
CONFIG_DEBUG_UART_VIRT=0xf02215000
CONFIG_DEBUG_UNCOMPRESS=y
CONFIG_EARLY_PRINTK=y
and added earlyprintk in commandline and uart_enable=1
But once i do this i don't see any log on serial port green led just blinks initially for 2-3 times.
Hi can any body suggest what i am missing.
Without above mentioned changes image boots up
Build steps :
cd linux
KERNEL=kernel7
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcm2709_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage modules dtbs -j6
Regards
Sumit.
-
- Posts: 6
- Joined: Sat May 23, 2020 10:02 am
-
- Posts: 6
- Joined: Sat May 23, 2020 10:02 am
Re: Trying to print "Uncompressing Linux...done, booting the kernel" (arch/arm/boot/compressed/misc.c). [ARCH]
Finally got the logs ,with below setting ,previously mapped wrong physical offset
CONFIG_DEBUG_UART_PHYS=0x3f215040
CONFIG_DEBUG_UART_VIRT=0xf0215040
CONFIG_DEBUG_UART_PHYS=0x3f215040
CONFIG_DEBUG_UART_VIRT=0xf0215040