Skip to contentSkip to conversation

arm64: mainline with foundation model: hang in arm64_device_init

DISCUSSION Kevin Hilman 2 participants 3 messages Mar 20, 2014

lore
Share & tools
lore
#0 lore raw

Hi Catalin,

Should I expect vanilla mainline (v3.14-rc7) to work with the current aarch64 foundation model r0p0 (model build 0.8.5206)? I'm also using the master branch of your boot-wrapper-aarch64 configured to point at the mainline tree.

I've gotten as far as adding initcall_debug to the cmdline and noticing that arm64_device_init never returns, but have to call it a day so have to wait til tomorrow to debug further. In the mean time wanted to check with you on whether it should work.

Thanks,

Kevin

#1 lore raw

Hi Kevin,

Quoted 7 lines · Kevin Hilman

Hi Catalin,

Should I expect vanilla mainline (v3.14-rc7) to work with the current aarch64 foundation model r0p0 (model build 0.8.5206)? I'm also using the master branch of your boot-wrapper-aarch64 configured to point at the mainline tree.

Quoted 5 lines

I've gotten as far as adding initcall_debug to the cmdline and noticing that arm64_device_init never returns, but have to call it a day so have to wait til tomorrow to debug further. In the mean time wanted to check with you on whether it should work.

This is not due to any kernel bug, but due to bootwrapper picking up wrong device tree. I will work on fixing it in the boot-wrapper-aarch64 repo.

Meanwhile could change KERN_DTB in configure.ac to point to foundation-v8.dtb and give it a try.

Regards,
Sudeep

#2 lore raw

Hi Sudeep,

Quoted 16 lines · Sudeep Holla

Hi Kevin,

Quoted 7 lines · Kevin Hilman

Hi Catalin,

Should I expect vanilla mainline (v3.14-rc7) to work with the current aarch64 foundation model r0p0 (model build 0.8.5206)? I'm also using the master branch of your boot-wrapper-aarch64 configured to point at the mainline tree.

Quoted 5 lines

I've gotten as far as adding initcall_debug to the cmdline and noticing that arm64_device_init never returns, but have to call it a day so have to wait til tomorrow to debug further. In the mean time wanted to check with you on whether it should work.

Quoted 6 lines

This is not due to any kernel bug, but due to bootwrapper picking up wrong device tree. I will work on fixing it in the boot-wrapper-aarch64 repo.

Meanwhile could change KERN_DTB in configure.ac to point to foundation-v8.dtb and give it a try.

Yup, that works. Now the kernel is getting all the way to userspace. Thanks.

Kevin