Skip to content

can't boot bananapi_m2u with non-secure mode enable #99

@baicaiaichibaicai

Description

@baicaiaichibaicai

hi,i want boot my linux kernel on my banana pi M2u board,and i build uboot like follow on my debian 8

  1. export ARCH=arm
  2. export CROSS_COMPILE=arm-linux-gnueabihf-
  3. make Bananapi_M2_Ultra_defconfig O=out
  4. cd out
  5. make -j
    then i burn uboot and kernel by fel as follow
    sudo sunxi-tools/sunxi-fel uboot u-boot-sunxi-with-spl.bin write 0x43000000 uImage write 0x44000000 sun8iw11p1-sata.dtb
    and when uboot start ,i run 'bootm 43000000 - 44000000' in uboot and it say
    '

Booting kernel from Legacy Image at 43000000 ...

Image Name: Linux-3.10.65
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3149960 Bytes = 3 MiB
Load Address: 40008000
Entry Point: 40008000
Verifying Checksum ... OK

Flattened Device Tree blob at 44000000

Booting using the fdt blob at 0x44000000
Loading Kernel Image ... OK
reserving fdt memory region: addr=78000000 size=8000000
reserving fdt memory region: addr=43000000 size=800
Loading Device Tree to 49fec000, end 49fffa92 ... OK

Starting kernel ...
'
and then nothing print,
i check uboot code and find that dev die on
u-boot-sunxi/arch/arm/lib/bootm.c -> announce_and_cleanup -> dm_remove_devices_flags(DM_REMOVE_ACTIVE_ALL);

i disable non-secure support on run 'make menuconfig'
ARM architecture --->
Enable support for booting in non-secure mode
and boot linux OK, i don't know why,can't anyone talk to me?
sorry for my poor english

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions