Skip to contentSkip to conversation

Regression: bootz command fails in v2013.07-rc2

U-Boot Tetsuyuki Kobayashi 2 participants 2 messages Jul 4, 2013

lore
Share & tools
lore
#0 lore raw

Hello,

I found bootz command causes 'undefined instruction' exception on KZM-A9-GT board (armv7) in v2013.07-rc2.

KZM-A9-GT# tftp zImage.kzm9g.v310; bootz
smc911x: detected LAN9221 controller
smc911x: phy initialized
smc911x: MAC 00:01:9b:04:04:05
Using smc911x-0 device
TFTP from server 192.168.1.110; our IP address is 192.168.1.162 Filename 'zImage.kzm9g.v310'.
Load address: 0x43000000
Loading: #################################################################

         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #########################
         1.8 MiB/s
done
Bytes transferred = 2453603 (257063 hex)
undefined instruction
pc : [<0500661a>]          lr : [<5ff8c078>]

sp : 5fee99d0 ip : 00000001 fp : 5fee9bc5
r10: 00000001 r9 : 5fee9ea8 r8 : 5fee9f48
r7 : 00010209 r6 : 000000d9 r5 : 014015c5 r4 : 0500571c
r3 : 05005717 r2 : 05005717 r1 : 00000014 r0 : 05005717
Flags: nzCv IRQs off FIQs off Mode SVC_32
Resetting CPU ...

resetting ...

At v2013.07-rc1, it was good.
I tried 'git bisect' and got this result.

$ git bisect good
35fc84fa1ff51e15ecd3e464dac87eb105ffed30 is the first bad commit
commit 35fc84fa1ff51e15ecd3e464dac87eb105ffed30
Author: Simon Glass <[email protected]>
Date:   Tue Jun 11 11:14:47 2013 -0700

Refactor the bootm command to reduce code duplication

Please take a look.

#1 lore raw

Hi,

Quoted 46 lines · Tetsuyuki Kobayashi

Hello,

I found bootz command causes 'undefined instruction' exception on KZM-A9-GT board (armv7) in v2013.07-rc2.

KZM-A9-GT# tftp zImage.kzm9g.v310; bootz
smc911x: detected LAN9221 controller
smc911x: phy initialized
smc911x: MAC 00:01:9b:04:04:05
Using smc911x-0 device
TFTP from server 192.168.1.110; our IP address is 192.168.1.162 Filename 'zImage.kzm9g.v310'.
Load address: 0x43000000
Loading: #################################################################

         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #########################
         1.8 MiB/s
done
Bytes transferred = 2453603 (257063 hex)
undefined instruction
pc : [<0500661a>]          lr : [<5ff8c078>]

sp : 5fee99d0 ip : 00000001 fp : 5fee9bc5
r10: 00000001 r9 : 5fee9ea8 r8 : 5fee9f48
r7 : 00010209 r6 : 000000d9 r5 : 014015c5 r4 : 0500571c
r3 : 05005717 r2 : 05005717 r1 : 00000014 r0 : 05005717
Flags: nzCv IRQs off FIQs off Mode SVC_32
Resetting CPU ...

resetting ...

At v2013.07-rc1, it was good.
I tried 'git bisect' and got this result.

$ git bisect good
35fc84fa1ff51e15ecd3e464dac87eb105ffed30 is the first bad commit
commit 35fc84fa1ff51e15ecd3e464dac87eb105ffed30
Author: Simon Glass <[email protected]>
Date:   Tue Jun 11 11:14:47 2013 -0700
Quoted 5 lines

Refactor the bootm command to reduce code duplication

Please take a look.

Thanks for letting me know - also there is another thread about this.

I will post some v2 patches soon, perhaps you can try to test and report back.

Regards,
Simon