Thanks for the hints, I think we lack some books on porting the compiler subject, also do you recommend any useful books or website for design with standard buses like AXI ,AMBA, Wishbone etc...
Have you searched? Richard Stallman wrote a book on Using and Porting the GNU Compiler Collection
Alibris has a couple of versions but they seem old. Still, the basics are probably the same
https://www.alibris.com/booksearch?mtype=B&keyword=using+and+porting+the+gnu+compiler+collection&hs.x=0&hs.y=0
These books probably aren't current hence the link to the online document above.
AXI is all over Google and you can also search Google for links to Wishbone (search for 'wishbone bus design') and you will get a lot of links back to Opencores.org. Xilinx has a lot of information on AMBA/AXI.
The information is out there, you just need to hit up Google, the repository of all human knowledge.
When it comes to protocols and buses, there is a big gulf between having the specs (which are usually freely available), and being able to implement them in a simple, logical and compliant way.
Sometimes the only way to cross the gulf is to build up experience by doing it wrong many times over. It's just a path you have to walk, and being shown the right way by reading a book is like reading a travel diary - nothing like being there yourself.
What tends to happen is when you hit an issue you don't have the experience or deeper understanding to debug and resolve it.
(Yes, I am looking at you, SCSI, SATA, USB, PIC, HDMI, DVI-D, AXI, SERDES, Wishbone, SDRAM controllers, RISC-V ISA, DisplayPort, 8b/10b, VGA, even RS232 serial and PS/2 keyboards).