Hello community:
I have got some errors ehilr i was boot my board: s32g274arbd
i used bsp30.0 to build my image dtb and u-boot ,
when i tried to boot my board , i got errors like:
CPU1: failed to come online
[ 5.117888] CPU1: failed in unknown state : 0x0
[ 10.243556] CPU2: failed to come online
[ 10.246953] CPU2: failed in unknown state : 0x0
[ 15.372612] CPU3: failed to come online
[ 15.376009] CPU3: failed in unknown state : 0x0
and also:
kB pagetables:4kB bounce:0kB free_pcp:28kB local_pcp:28kB free_cma:261760kB
[ 18.263183] lowmem_reserve[]: 0 0 0 0
[ 18.266829] DMA: 4*4kB (ME) 5*8kB (M) 1*16kB (M) 3*32kB (M) 2*64kB (M) 3*128k
B (MC) 5*256kB (ME) 4*512kB (MEC) 2*1024kB (EC) 1*2048kB (C) 63*4096kB (C) = 266
152kB
[ 18.281325] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepa
ges_size=1048576kB
[ 18.290004] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepa
ges_size=32768kB
[ 18.298510] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepa
ges_size=2048kB
[ 18.306930] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepa
ges_size=64kB
[ 18.315175] 27504 total pagecache pages
[ 18.318995] 130560 pages RAM
[ 18.321859] 0 pages HighMem/MovableOnly
[ 18.325678] 34679 pages reserved
[ 18.328890] 65536 pages cma reserved
[ 18.332449] Tasks state (memory values in pages):
[ 18.337136] [ pid ] uid tgid total_vm rss pgtables_bytes swapents o
om_score_adj name
[ 18.345738] Out of memory and no killable processes...
[ 18.350851] Kernel panic - not syncing:
[ 18.354670] System is deadlocked on memory
[ 18.358791] ---[ end Kernel panic - not syncing: System is deadlocked on memo
ry ]---
=====================================================================
the bsp building cmds i used is:
$: mkdir ~/bin
$: curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$: chmod a+x ~/bin/repo
$: PATH=${PATH}:~/bin
$: mkdir fsl-auto-yocto-bsp
$: cd fsl-auto-yocto-bsp
$: repo init -u https://source.codeaurora.org/external/autobsps32/auto_yocto_bsp -b release/bsp30.0
$: repo sync
$ ./sources/meta-alb/scripts/host-prepare.sh
$ . nxp-setup-alb.sh -m s32g274ardb
$ bitbake fsl-image-auto
which all succed and i got the image, u-boot,and dtb
---------------------------------------------------------------------------
Image--5.10.41-r0-s32g274ardb-20211121115436.bin
fsl-image-auto-s32g274ardb-20211121115436.rootfs.cpio.gz.u-boot
fsl-s32g274a-rdb--5.10.41-r0-s32g274ardb-20211121115436.dtb
----------------------------------------------------------------------------------
i upload all the above three file into mmc, and begin to boot:
------------------------------------------------------------------------------------
ext4load mmc 0:3 0x80080000 Image--5.10.41-r0-s32g274ardb-20211121115436.bin
ext4load mmc 0:3 0x83E00000 fsl-s32g274a-rdb--5.10.41-r0-s32g274ardb-20211121115436.dtb
ext4load mmc 0:3 0x84000000 fsl-image-auto-s32g274ardb-20211121115436.rootfs.cpio.gz.u-boot
setenv bootargs console=ttyLF0,115200 root=/dev/ram rw earlycon rdinit=/sbin/init
${boot_mtd} ${loadaddr} ${ramdisk_addr} ${fdt_addr}
---------------------------------------------------------------------------------------
and I upload the bootlog.
Thanks for any suggestions!!