RSB Information Request
#4
Hi,

there is no elaborate RSB information in the manual. For a  generic register and functionality description you can look at the A80 manual, which is somewhere at linux-sunxi.org. There is _some_ information about the A64 specific whereabouts of the RSB, namely the MMIO address, the GPIO lines and the interrupt, hidden in the various sections of the A64 manual, namely the "Memory Mapping", the GIC description and the port controller section. Searching for "RSB" in the manual should give you the bits.

For further details usually the most reliable information is in the BSP, preferrably in the Linux kernel tree, but also the U-Boot code is a good source and easier to parse mostly. In the case of the RSB it's not too much information there, since in the Allwinner firmware the RSB is only driven by the arisc, which is the separate OpenRISC core (called CPUS in Allwinner's manual) in the SoC. Therefore this information is mostly hidden in this (closed source) blob. And that's why you actually shouldn't drive the AXP from Linux, since you will definitely step on the arisc's toes. You can do so when you either not disable the arisc code or leave it out at all.

In my experiments with U-Boot (without the arisc) I didn't manage to initialize the RSB properly, despite apperently having the proper bits set. I need to investigate if this is related to some default security settings forbidding access to the RSB from the non-secure world. I hope that we get away without driving the arisc from Linux by just setting up the proper bits once in U-Boot at boot time.

Cheers,
Andre


Messages In This Thread
RSB Information Request - by Milo Kim - 03-06-2016, 07:59 PM
RE: RSB Information Request - by tllim - 03-06-2016, 09:24 PM
RE: RSB Information Request - by janjwerner - 03-06-2016, 09:33 PM
RE: RSB Information Request - by apritzel - 03-07-2016, 10:42 AM
RE: RSB Information Request - by Milo Kim - 03-07-2016, 11:38 PM
RE: RSB Information Request - by tllim - 03-08-2016, 12:51 AM
RE: RSB Information Request - by Milo Kim - 03-08-2016, 01:12 AM
RE: RSB Information Request - by tllim - 03-22-2016, 12:49 AM
RE: RSB Information Request - by rahlquist - 05-09-2016, 11:54 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  1st Debian image and further information umiddelb 13 20,849 03-04-2016, 02:08 AM
Last Post: umiddelb
  Allwinner Mali Information? KPhillisJr 2 6,606 01-14-2016, 03:05 AM
Last Post: taros

Forum Jump:


Users browsing this thread: 1 Guest(s)