kernel linux-imx6-3.14.69-1 not booting on cubox

Discussion about U-Boot and the kernel.

kernel linux-imx6-3.14.69-1 not booting on cubox

Postby maniac » Thu May 19, 2016 3:54 pm

Hello, I have recently upgraded from kernel 3.14.58-1-ARCH running cubox-ipro 4x4 to latest linux-imx6-3.14.69-1, but new kernel does not boot.
This is visible on serial console, after that nothing further happens:

$this->bbcode_second_pass_code('', 'U-Boot 2013.10-rc4 (Nov 05 2015 - 12:59:56)

CPU: Freescale i.MX6Q rev1.5 at 792 MHz
Reset cause: POR
Board: MX6-CuBox-i
DRAM: 3.8 GiB
MMC: FSL_SDHC: 0
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: FEC [PRIME]
Hit any key to stop autoboot: 0
mmc0 is current device
** File not found /boot.scr **
** File not found /uEnv.txt **
** File not found /zImage **
** File not found /uImage **
** File not found /boot/boot.scr **
227 bytes read in 92 ms (2 KiB/s)
Importing environment from mmc0 ...
6193192 bytes read in 523 ms (11.3 MiB/s)
Booting from mmc ...
** File not found /boot/initramfs-linux.img **
Loaded initramfs-linux.img
33835 bytes read in 62 ms (532.2 KiB/s)
Loaded imx6q-cubox-i.dtb
Booting zImage
Kernel image @ 0x10800000 [ 0x000000 - 0x5e8028 ]
## Flattened Device Tree blob at 18000000
Booting using the fdt blob at 0x18000000
Using Device Tree in place at 18000000, end 1800b42a

Starting kernel ...')


This is the content of /boot/uEnv.txt :
$this->bbcode_second_pass_code('', 'mmcargs=setenv bootargs root=/dev/sda1 rootwait rw console=tty1 console=ttymxc0,115200 consoleblank=0 video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24,bpp=16 dmfc=3 ahci_imx.hotplug=1 pci=nomsi loop.max_part=15 ipv6.disable_ipv6=1
')
Any ideas what could be the issue or how to find out more?

Thanks
Last edited by moonman on Sat May 21, 2016 4:54 am, edited 1 time in total.
Reason: code tags
maniac
 
Posts: 10
Joined: Tue Jun 23, 2015 5:36 pm

Re: kernel linux-imx6-3.14.69-1 not booting on cubox

Postby pepedog » Fri May 20, 2016 6:51 pm

Try copying the dtb file from /boot/dtbs into /boot
Did you update pkg uboot-cubobi? The env with that points to right place
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: kernel linux-imx6-3.14.69-1 not booting on cubox

Postby maniac » Sat May 21, 2016 12:14 am

Thanks pepedog, I have tried copying the dtbs to /boot, but it have not helped.

my U-Boot version is 2013.10-rc4

I have run the pacman -Syu recently.
I'm not sure if it's important but my system is running from e-sata drive, while u-boot and kernel are loaded from the mmc card - I am copying manually contents of real (OS) /boot to /boot on SD card after kernel upgrades (except uEnv.txt) .

Here is the console output with previous kernel which boots fine:

$this->bbcode_second_pass_code('', 'CPU: Freescale i.MX6Q rev1.5 at 792 MHz
Reset cause: POR
Board: MX6-CuBox-i
DRAM: 3.8 GiB
MMC: FSL_SDHC: 0
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: FEC [PRIME]
Hit any key to stop autoboot: 0
mmc0 is current device
** File not found /boot.scr **
** File not found /uEnv.txt **
** File not found /zImage **
** File not found /uImage **
** File not found /boot/boot.scr **
227 bytes read in 81 ms (2 KiB/s)
Importing environment from mmc0 ...
6234904 bytes read in 584 ms (10.2 MiB/s)
Booting from mmc ...
** File not found /boot/initramfs-linux.img **
Loaded initramfs-linux.img
33907 bytes read in 72 ms (459 KiB/s)
Loaded imx6q-cubox-i.dtb
Booting zImage
Kernel image @ 0x10800000 [ 0x000000 - 0x5f2318 ]
## Flattened Device Tree blob at 18000000
Booting using the fdt blob at 0x18000000
Using Device Tree in place at 18000000, end 1800b472

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.14.58-1-ARCH (builduser@leming) (gcc version 5.3.0 (GCC) ) #1 SMP Fri Dec 11 18:21:13 MST 2015
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Truncating memory at 0x10000000 to fit in 32-bit physical address space
[ 0.000000] Machine model: SolidRun Cubox-i Dual/Quad')
Last edited by moonman on Sat May 21, 2016 4:54 am, edited 1 time in total.
Reason: code tags
maniac
 
Posts: 10
Joined: Tue Jun 23, 2015 5:36 pm

Re: kernel linux-imx6-3.14.69-1 not booting on cubox

Postby moonman » Sat May 21, 2016 5:07 am

Strange. I see DTB is loaded in both cases so it should work.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am


Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 6 guests