I am using AM3359 processor based board and I have created zImage using linux-rt-4.19.59 of size 30MB.
Nand partition size for Kernel & rfs is set to 35 MB.
I have programmed the RT Linux zImage in 35MB partition but while power on, the board gets reset after U-Boot.
The boot prints and DTS partition are added for reference.
##Boot Prints:
NAND Initialization done.
Waiting to load U-Boot...
$$.$$.$$.$$1.$$2 .$$.$$.$$
nand u-boot loading ... done
U-Boot 2013.10-00189-g78d8ebd-dirty (Jan 27 2021 - 18:48:27)
I2C: ready
*********************************************************
********************* R4 RCU BCB ************************
*********************************************************
DRAM: 256 MiB
NAND: 256 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment
Getting Boot Device type
Net:
* ETH RESET *
.........
ethaddr set
cpsw
Hit 'Esc' key to stop autoboot: 10 9 8 7 6 5 4 3 2 1 0
Booting from nand ...
NAND read: device 0 offset 0x1a0000, size 0xa000
40960 bytes read: OK
NAND read: device 0 offset 0x1e0000, size 0xf00000
15728640 bytes read: OK
Kernel image @ 0x80000000 [ 0x000000 - 0x1d8f200 ]
## Flattened Device Tree blob at 8f000000
Booting using the fdt blob at 0x8f000000
Loading Device Tree to 8f323000, end 8f32e945 ... OK
Starting kernel ...
data abort
MAYBE you should read doc/README.arm-unaligned-accesses
pc : [<e8133f6c>] lr : [<00000024>]
sp : e9ec2788 ip : e9ec0ffc fp : 01100003
r10: 90000000 r9 : 80000000 r8 : 8f323000
r7 : 00000e05 r6 : 00000000 r5 : 5a9c9eaa r4 : 00000014
r3 : 00000e05 r2 : e9ed2798 r1 : e9ec2798 r0 : 80008000
Flags: nzcv IRQs off FIQs on Mode SVC_32
Resetting CPU ...
resetting ...
CCCCCCCC
##DTS Partition for Nand Flash:
partition@0 {
label = "NAND.SPL";
reg = <0x00000000 0x00020000>;
};
partition@1 {
label = "NAND.u-boot";
reg = <0x00020000 0x00100000>;
};
partition@2 {
label = "NAND.u-boot-env";
reg = <0x00120000 0x00040000>;
};
partition@3 {
label = "NAND.u-boot-env-redund";
reg = <0x00160000 0x00040000>;
};
partition@4 {
label = "NAND.ftd_file";
reg = <0x001A0000 0x00040000>;
};
partition@5 {
label = "NAND.Kernel_Fs";
reg = <0x001E0000 0x02300000>;
};
partition@6 {
label = "NAND.user_partition";
reg = <0x024E0000 0x00A00000>;
};
partition@7 {
label = "NAND.test_partition";
reg = <0x02EE0000 0x00A00000>;
};
Regards,
Amit Keshri