Rebuild kernel and not booting

cancel
Showing results for 
Search instead for 
Did you mean: 

Rebuild kernel and not booting

76 Views
Contributor III

Hello,

I am working with an imx6 digi board. I builded a system with yocto 2.4 and 4.9 version kernel.

When I build al the system, with:

=> bitbake dey-image-qt

Kernel and dtb files are packaged together in a single fil with .boot.vfat extension, and the root file system is packaged in rootfs.ext4 extension file. This worked and the system boot well, but I needed to make some changes in kernel, precisely change kernel logo, so I made the chenge and rebuild only the kernel. 

First to try if the chages works fine I mounted vfat an rootfs to boot from tftp, and replace .bin file. At fisrt the system botting well, the logo kernel is chenged, all ok, but when I  remounted vfat the system dont boot again, there is some error with kernel file (.bin).

I need help with this.

Labels (3)
0 Kudos
2 Replies

5 Views
Contributor III

when the system bootin well this are the message:

U-Boot dub-2015.04-r12.1+g5ea79be (Jun 27 2018 - 04:09:53)

CPU: Freescale i.MX6DL rev1.3 at 792MHz
CPU: Industrial temperature grade (-40C to 105C) at 42C
Reset cause: POR
I2C: ready
DRAM: 512 MiB
MMC: FSL_SDHC: 0 (eMMC), FSL_SDHC: 1
In: serial
Out: serial
Err: serial
ConnectCore 6 SOM variant 0x0C: Industrial DualLite-core 800MHz, 4GB eMMC, 512MB DDR3, -40/+85C
Board: ConnectCore 6 SBC
WARNING: Undefined board version!
WARNING: Undefined board ID!
Boot device: MMC4
PMIC: DA9063, Device: 0x61, Variant: 0x60, Customer: 0x00, Config: 0x56
Net: FEC [PRIME]
Hit any key to stop autoboot: 0
=> dboot linux tftp
Using FEC device
TFTP from server 192.168.11.148; our IP address is 192.168.11.154
Filename 'zImage-ccimx6sbc.bin'.
Load address: 0x12000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###########################################################
3.6 MiB/s
done
Bytes transferred = 5628240 (55e150 hex)
Using FEC device
TFTP from server 192.168.11.148; our IP address is 192.168.11.154
Filename 'zImage-imx6dl-ccimx6sbc.dtb'.
Load address: 0x18000000
Loading: ####
979.5 KiB/s
done
Bytes transferred = 50162 (c3f2 hex)
Kernel image @ 0x12000000 [ 0x000000 - 0x55e150 ]
## Flattened Device Tree blob at 18000000
Booting using the fdt blob at 0x18000000
Using Device Tree in place at 18000000, end 1800f3f1

Starting kernel ...

But when the system not booting this is the message:

Using FEC device
TFTP from server 192.168.11.148; our IP address is 192.168.11.154
Filename 'zImage-ccimx6sbc.bin'.
Load address: 0x12000000
Loading: ###############################
681.6 KiB/s
done
Bytes transferred = 450560 (6e000 hex)
Using FEC device
TFTP from server 192.168.11.148; our IP address is 192.168.11.154
Filename 'zImage-imx6dl-ccimx6sbc.dtb'.
Load address: 0x18000000
Loading: ####
194.3 KiB/s
done
Bytes transferred = 50162 (c3f2 hex)
Kernel image @ 0x12000000 [ 0x000000 - 0x55e150 ]
## Flattened Device Tree blob at 18000000
Booting using the fdt blob at 0x18000000
Using Device Tree in place at 18000000, end 1800f3f1

Starting kernel ...

I supose that It's not loading all bin file, but I don know why. 

0 Kudos

5 Views
NXP TechSupport
NXP TechSupport

Hi emmanuel,

Your kernel is wrong, with the changes you are doing, try to make one by one to localize the issue.

Regards

0 Kudos