bao-project / bao-demos

A guide on how to build and use a set of Bao guest configurations for various platforms
Other
33 stars 37 forks source link

fix(demos/linux+zephyr): fix linux+zephyr demo on fvp-a #47

Closed yanjiew1 closed 10 months ago

yanjiew1 commented 10 months ago

The addresses in config file of bao and the device tree for zephyr are not consistent. Change the config file of bao to match the addresses in the device tree for zephyr.

josecm commented 10 months ago

The only issue with this is that by updating linux+zephyr/configs/fvp-a.c we are also updating linux+zephyr/configs/fvp-a-aarch32.c (since the latter is a sym link to the former) and this configuration becomes inconsistent with the device tree used for this platform. The straightforward solution is to make fvp-a-aarch32.c a copy of the original fvp-a.c instead of a symlink, and update only fvp-a.c.

josecm commented 10 months ago

I just went ahead and added that! Thanks again @yanjiew1 !