[U-Boot] sandbox question

TigerLiu at viatech.com.cn TigerLiu at viatech.com.cn
Wed Jan 8 01:52:53 CET 2014


Hi, Simon:

Thanks for your reply!

>Well you could, but what benefit would that provide? It would not use
any code from arch/arm if that is what you are thinking. Sandbox is its
own >'architecture'?

 

For example:

1.     i want to test fs/ext4 driver.

They are architecture independent code.

I means:

(1) the obj files produced by arm gcc compiler are different with obj
files produced by x86 gcc compiler.

     Maybe arm gcc compiler would introduce some arm architecture
related optimizations for fs/ext4 drivers.

     Maybe x86 gcc compiler would introduce some x86 architecture
related optimizations for fs/ext4 drivers.

     So, if sandbox's fs/ext4 drivers' test passed on an x86
platform,but these architecture related optimizations would cause 

some potential bugs on ARM platform.

 

Is it a problem?

 

Best wishes,



More information about the U-Boot mailing list