
-----Original Message----- From: U-Boot [mailto:u-boot-bounces@lists.denx.de] On Behalf Of Alexander Graf Sent: Friday, May 13, 2016 5:52 PM To: u-boot@lists.denx.de Subject: [U-Boot] [PATCH 1/5] ls2080: Exit dpaa only right before exiting U- Boot
On ls2080 we have a separate network fabric component which we need to shut down before we enter Linux (or any other OS). Along with that also comes configuration of the fabric using a description file.
Today we always stop and configure the fabric in the boot script and (again) exit it on device tree generation. This works ok for the normal booti case, but with bootefi the payload we're running may still want to access the network.
So let's add a new fsl_mc command that defers configuration and stopping the hardware to when we actually exit U-Boot, so that we can still use the fabric from an EFI payload.
For existing boot scripts, nothing should change with this patch.
Signed-off-by: Alexander Graf agraf@suse.de
With this patch.
If I does not apply MC, I am getting following crash:-
Starting kernel ...
"Synchronous Abort" handler, esr 0x96000044 ELR: fff4666c LR: fff46cc4 x0 : d51ec00010004000 x1 : 00000000ffcf9fc0 x2 : 0000000000000001 x3 : d51ec00010004000 x4 : 00000000d51ec000 x5 : 0000000000000000 x6 : 0000000000000000 x7 : 000000009fffccc7 x8 : 000000009fffd080 x9 : 000000000000000c x10: 0000000000000003 x11: 00000000ffcf9cd8 x12: 00000000fff6cc40 x13: 00000000ffcf90e0 x14: 0000000100000000 x15: 000000009ffff9a3 x16: 00000000ffd0ad40 x17: 00000000ffd0b630 x18: 00000000ffcfbd78 x19: 0000000000000000 x20: 00000000fffba000 x21: 00000000fffba520 x22: 00000000fffba528 x23: 0000000000000000 x24: 0000000000000000 x25: 00000000ffd03878 x26: 00000000fff8fb40 x27: 0000000000000000 x28: 00000000a00000e0 x29: 00000000ffcf9f70
Resetting CPU ...
### ERROR ### Please RESET the board ###
If I apply this patch. MC timeout happens
Starting kernel ...
Error: Timeout waiting for MC response dpbp_open() failed: -110 dpbp_exit() failed: -110 [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpu
--prabhakar