Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - i.MX31 BSP with procnto-v6?: (5 Items)
   
i.MX31 BSP with procnto-v6?  
Has anyone gotten the Trinity M4 release working with the Freescale i.MX31 BSP? 

With procnto-v6 it complained about the ARM_CPU_FLAG_V6 and ARM_CPU_FLAG_V6_ASID flags not being set and aborted.

I added code to arm1136_extra_init() to set those flags (after the vfp unit is disabled in CP15) and now it starts 
booting and hangs. The i.MX31 JTAG debugger on order hasn't arrived yet so I'm sort of stuck. Below is the boot console 
output before it hangs. Any info appreciated.

-------------------- snip ----------------------
load entry_address=0x100000
virt_addr=0x10 Dcache: 512x32 WB
Icache: 512x32
arm1136 rev 4 532 MHz

System page at phys:80013000 user:fc404000 kern:fc404000
Starting next program at vfe03a9b8

[it hangs here]
Re: i.MX31 BSP with procnto-v6?  
You need the trunk version of libstartup to work with procnto-v6.
procnto-v6 expects the startup to set up the MMU for ARMv6 operation.

	Sunil.

Ken Schumm wrote:
> Has anyone gotten the Trinity M4 release working with the Freescale 
> i.MX31 BSP?
> 
> With procnto-v6 it complained about the ARM_CPU_FLAG_V6 and 
> ARM_CPU_FLAG_V6_ASID flags not being set and aborted.
> 
> I added code to arm1136_extra_init() to set those flags (after the vfp 
> unit is disabled in CP15) and now it starts booting and hangs. The 
> i.MX31 JTAG debugger on order hasn't arrived yet so I'm sort of stuck. 
> Below is the boot console output before it hangs. Any info appreciated.
> 
> -------------------- snip ----------------------
> load entry_address=0x100000
> virt_addr=0x10 Dcache: 512x32 WB
> Icache: 512x32
> arm1136 rev 4 532 MHz
> 
> System page at phys:80013000 user:fc404000 kern:fc404000
> Starting next program at vfe03a9b8
> 
> [it hangs here]
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post5536
> 
Re: i.MX31 BSP with procnto-v6?  
> You need the trunk version of libstartup to work with procnto-v6.
> procnto-v6 expects the startup to set up the MMU for ARMv6 operation.
> 
> 	Sunil.

Thank you.

Is the trunk version available for download?  If so, where can it be found?

Thanks again.
Re: i.MX31 BSP with procnto-v6?  
I am getting following errors when i run ubuntu 8 version host. The same BSP when i run in windows/Neutrino host am not 
getting any errors. 


33/QNX/BSP/src/hardware/startup/lib/arm/arm_map.c: In function 'set_prot':
/home/user/Project/CSB733/QNX/BSP/src/hardware/startup/lib/arm/arm_map.c:42: error: 'ARM_PTE_V6_AP0' undeclared (first 
use in this function)
/home/user/Project/CSB733/QNX/BSP/src/hardware/startup/lib/arm/arm_map.c:42: error: (Each undeclared identifier is 
reported only once
/home/user/Project/CSB733/QNX/BSP/src/hardware/startup/lib/arm/arm_map.c:42: error: for each function it appears in.)
/home/user/Project/CSB733/QNX/BSP/src/hardware/startup/lib/arm/arm_map.c:42: error: 'ARM_PTE_V6_nG' undeclared (first 
use in this function)
/home/user/Project/CSB733/QNX/BSP/src/hardware/startup/lib/arm/arm_map.c: In function 'elf_vaddr_to_paddr':
/home/user/Project/CSB733/QNX/BSP/src/hardware/startup/lib/arm/arm_map.c:230: error: 'ARM_SCMASK' undeclared (first use 
in this function)
cc: /opt/qnx641/host/linux/x86/usr/lib/gcc/arm-unknown-nto-qnx6.4.0/4.3.3/cc1 error 1
make[6]: *** [arm_map.o] Error 1

Please suggest me to resolve above errors.
Re: i.MX31 BSP with procnto-v6?  
Those symbols are defined in <arm/mmu.h> so it looks like your host setup
is picking up an out-of-date version of the file?

harish kumar wrote:
> I am getting following errors when i run ubuntu 8 version host. The same BSP when i run in windows/Neutrino host am 
not getting any errors. 
> 
> 
> 33/QNX/BSP/src/hardware/startup/lib/arm/arm_map.c: In function 'set_prot':
> /home/user/Project/CSB733/QNX/BSP/src/hardware/startup/lib/arm/arm_map.c:42: error: 'ARM_PTE_V6_AP0' undeclared (first
 use in this function)
> /home/user/Project/CSB733/QNX/BSP/src/hardware/startup/lib/arm/arm_map.c:42: error: (Each undeclared identifier is 
reported only once
> /home/user/Project/CSB733/QNX/BSP/src/hardware/startup/lib/arm/arm_map.c:42: error: for each function it appears in.)
> /home/user/Project/CSB733/QNX/BSP/src/hardware/startup/lib/arm/arm_map.c:42: error: 'ARM_PTE_V6_nG' undeclared (first 
use in this function)
> /home/user/Project/CSB733/QNX/BSP/src/hardware/startup/lib/arm/arm_map.c: In function 'elf_vaddr_to_paddr':
> /home/user/Project/CSB733/QNX/BSP/src/hardware/startup/lib/arm/arm_map.c:230: error: 'ARM_SCMASK' undeclared (first 
use in this function)
> cc: /opt/qnx641/host/linux/x86/usr/lib/gcc/arm-unknown-nto-qnx6.4.0/4.3.3/cc1 error 1
> make[6]: *** [arm_map.o] Error 1
> 
> Please suggest me to resolve above errors.
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post52971
>