Thank you! That is why I asked.  I just thought it was odd to include the 8-9 
if that was the case, but I have no way to test it. :) 

Sean 



On Saturday, April 12, 2014 4:35 AM, Peter Maydell <peter.mayd...@linaro.org> 
wrote:
 
On 12 April 2014 00:57, Sean Omalley <omalle...@rocketmail.com> wrote:
>
>> I was looking at  rc2 and /scripts/qemu-binfmt-conf.sh briefly,
>> it has
>>
>> # probe cpu type
>> cpu=`uname -m`
>> case "$cpu" in
>>
>> Then there is no cpu for aarch64, but if you poke down further,
>> there is a if-then that uses a cpu=aarch64.
>>
>> Should this be split into something like:
>>
>> armv[4-7]*)
>>     cpu="arm"
>>   ;;
>> armv[8-9]*)
>>     cpu="aarch64"
>>   ;;
>
>This would be wrong, because AArch64 systems don't
>report their 'uname -m' as "armv8", but as "aarch64".
>This case statement only needs entries for the cases where
>uname can report multiple different things for systems
>which QEMU considers to be the same thing. For
>everything else the default (set $cpu to the output of
>uname -m) is correct.
>
>thanks
>-- PMM
>
>
>
>

Reply via email to