Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
baicaiaichibaicai opened this issue May 30, 2017 · 1 comment
Open

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

baicaiaichibaicai opened this issue May 30, 2017 · 1 comment

Comments

@baicaiaichibaicai
Copy link

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

@wens
Copy link
Member

wens commented Jun 6, 2017

Booting non-secure with mainline U-boot is only supported for mainline Linux.

If you want to use Allwinner's kernel and boot non-secure, I suggest you use their
bootloaders as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants