[U-Boot] mx28evk kernel does not boot with 2012.07-rc3

Hi,
I have just tried the latest U-boot and I am getting the following when trying to load today's linux-next:
U-Boot 2012.07-rc3 (Jul 27 2012 - 14:45:19)
Freescale i.MX28 family at 454 MHz BOOT: SSP SD/MMC #0, 3V3 I2C: ready DRAM: 128 MiB MMC: MXS MMC: 0 In: serial Out: serial Err: serial Net: FEC0, FEC1 Hit any key to stop autoboot: 0 BOOTP broadcast 1 BOOTP broadcast 2 DHCP client bound to address 10.29.244.22 Using FEC0 device TFTP from server 10.29.240.146; our IP address is 10.29.244.22 Filename 'uImage'. Load address: 0x42000000 Loading: ## Warning: gatewayip needed but not set ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# #### done Bytes transferred = 3343968 (330660 hex) ## Booting kernel from Legacy Image at 42000000 ... Image Name: Linux-3.5.0-next-20120727+ Created: 2012-07-27 17:27:30 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3343904 Bytes = 3.2 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... data abort pc : [<47fa74f0>] lr : [<47f86f44>] sp : 47b80ca8 ip : 80338620 fp : 00000000 r10: 42330660 r9 : 42000040 r8 : 47b80f68 r7 : 42000000 r6 : 00000000 r5 : 47b80d1c r4 : 00000000 r3 : ffffffff r2 : 0033061f r1 : 42330660 r0 : 80008000 Flags: nzCv IRQs off FIQs off Mode SVC_32 Resetting CPU ...
resetting ...
If I use the latest stable kernel I get:
U-Boot 2012.07-rc3 (Jul 27 2012 - 14:45:19)
Freescale i.MX28 family at 454 MHz BOOT: SSP SD/MMC #0, 3V3 I2C: ready DRAM: 128 MiB MMC: MXS MMC: 0 In: serial Out: serial Err: serial Net: FEC0, FEC1 Hit any key to stop autoboot: 0 BOOTP broadcast 1 BOOTP broadcast 2 DHCP client bound to address 10.29.244.22 Using FEC0 device TFTP from server 10.29.240.146; our IP address is 10.29.244.22 Filename 'uImage'. Load address: 0x42000000 Loading: ## Warning: gatewayip needed but not set ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################### done Bytes transferred = 3170352 (306030 hex) ## Booting kernel from Legacy Image at 42000000 ... Image Name: Linux-3.4.6 Created: 2012-07-26 23:30:59 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3170288 Bytes = 3 MiB Load Address: 90008000 Entry Point: 90008000 Verifying Checksum ... OK Loading Kernel Image ...
Is there any patch missing or any ideas?
Thanks,
Fabio Estevam

Dear Fabio Estevam,
Hi,
I have just tried the latest U-boot and I am getting the following when trying to load today's linux-next:
Noooohoooooooooo! :'-C
Wakizashi, here I come ...
U-Boot 2012.07-rc3 (Jul 27 2012 - 14:45:19)
Freescale i.MX28 family at 454 MHz BOOT: SSP SD/MMC #0, 3V3 I2C: ready DRAM: 128 MiB MMC: MXS MMC: 0 In: serial Out: serial Err: serial Net: FEC0, FEC1 Hit any key to stop autoboot: 0 BOOTP broadcast 1 BOOTP broadcast 2 DHCP client bound to address 10.29.244.22 Using FEC0 device TFTP from server 10.29.240.146; our IP address is 10.29.244.22 Filename 'uImage'. Load address: 0x42000000 Loading: ## Warning: gatewayip needed but not set ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# #### done Bytes transferred = 3343968 (330660 hex) ## Booting kernel from Legacy Image at 42000000 ... Image Name: Linux-3.5.0-next-20120727+ Created: 2012-07-27 17:27:30 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3343904 Bytes = 3.2 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... data abort pc : [<47fa74f0>] lr : [<47f86f44>] sp : 47b80ca8 ip : 80338620 fp : 00000000 r10: 42330660 r9 : 42000040 r8 : 47b80f68 r7 : 42000000 r6 : 00000000 r5 : 47b80d1c r4 : 00000000 r3 : ffffffff r2 : 0033061f r1 : 42330660 r0 : 80008000 Flags: nzCv IRQs off FIQs off Mode SVC_32 Resetting CPU ...
resetting ...
If I use the latest stable kernel I get:
U-Boot 2012.07-rc3 (Jul 27 2012 - 14:45:19)
Freescale i.MX28 family at 454 MHz BOOT: SSP SD/MMC #0, 3V3 I2C: ready DRAM: 128 MiB MMC: MXS MMC: 0 In: serial Out: serial Err: serial Net: FEC0, FEC1 Hit any key to stop autoboot: 0 BOOTP broadcast 1 BOOTP broadcast 2 DHCP client bound to address 10.29.244.22 Using FEC0 device TFTP from server 10.29.240.146; our IP address is 10.29.244.22 Filename 'uImage'. Load address: 0x42000000 Loading: ## Warning: gatewayip needed but not set ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################### done Bytes transferred = 3170352 (306030 hex) ## Booting kernel from Legacy Image at 42000000 ... Image Name: Linux-3.4.6 Created: 2012-07-26 23:30:59 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3170288 Bytes = 3 MiB Load Address: 90008000 Entry Point: 90008000 Verifying Checksum ... OK Loading Kernel Image ...
Is there any patch missing or any ideas?
I'm stuck at 20120723 for a bit ... I'll need to resync. Do you suspect uboot issue or kernel bug?
Thanks,
Fabio Estevam
Best regards, Marek Vasut

Hi Marek,
On Fri, Jul 27, 2012 at 3:39 PM, Marek Vasut marex@denx.de wrote:
I'm stuck at 20120723 for a bit ... I'll need to resync. Do you suspect uboot issue or kernel bug?
Looks like a U-boot issue, as even the kernel from linux-stable is not booting with 2012.07-rc3
Regards,
Fabio Estevam

Dear Fabio Estevam,
Hi Marek,
On Fri, Jul 27, 2012 at 3:39 PM, Marek Vasut marex@denx.de wrote:
I'm stuck at 20120723 for a bit ... I'll need to resync. Do you suspect uboot issue or kernel bug?
Looks like a U-boot issue, as even the kernel from linux-stable is not booting with 2012.07-rc3
I see, we need to bisect this then. Can you please take care of it? Ping me via jabber/googlecrap once you have time to poke into this.
Regards,
Fabio Estevam
Best regards, Marek Vasut

Hi Marek,
On Fri, Jul 27, 2012 at 4:11 PM, Marek Vasut marex@denx.de wrote:
I see, we need to bisect this then. Can you please take care of it? Ping me via jabber/googlecrap once you have time to poke into this.
Yes, I will bisect it and will let you know. Hopefully I will be able to work on this sometime during the weekend, otherwise I will do it on Monday.
Regards,
Fabio Estevam

Dear Fabio Estevam,
In message CAOMZO5BNZH3QFr-n0ca5TCg+PXFc8UQwFnPGMKYY7_mNea6uNg@mail.gmail.com you wrote:
I see, we need to bisect this then. Can you please take care of it? Ping me via jabber/googlecrap once you have time to poke into this.
Yes, I will bisect it and will let you know. Hopefully I will be able to work on this sometime during the weekend, otherwise I will do it on Monday.
I understand we put the release on hold until I hear from you / see a patch / pull request ?
Best regards,
Wolfgang Denk

Hi Wolfgang,
On Fri, Jul 27, 2012 at 4:43 PM, Wolfgang Denk wd@denx.de wrote:
I understand we put the release on hold until I hear from you / see a patch / pull request ?
Please go ahead with the release. It was an operator error from my side. 2012.07-rc3 boots the kernel correctly on mx28evk.
Thanks,
Fabio Estevam

Dear Fabio,
In message CAOMZO5CAHcApwv0gmRyO1fDeauwos7vYQLfVgSs4U8DJK88FDQ@mail.gmail.com you wrote:
I understand we put the release on hold until I hear from you / see a patch / pull request ?
Please go ahead with the release. It was an operator error from my side. 2012.07-rc3 boots the kernel correctly on mx28evk.
Thanks for the feedback!
Best regards,
Wolfgang Denk

Dear Fabio Estevam,
Hi,
I have just tried the latest U-boot and I am getting the following when trying to load today's linux-next:
U-Boot 2012.07-rc3 (Jul 27 2012 - 14:45:19)
Freescale i.MX28 family at 454 MHz BOOT: SSP SD/MMC #0, 3V3 I2C: ready DRAM: 128 MiB MMC: MXS MMC: 0 In: serial Out: serial Err: serial Net: FEC0, FEC1 Hit any key to stop autoboot: 0 BOOTP broadcast 1 BOOTP broadcast 2 DHCP client bound to address 10.29.244.22 Using FEC0 device TFTP from server 10.29.240.146; our IP address is 10.29.244.22 Filename 'uImage'. Load address: 0x42000000 Loading: ## Warning: gatewayip needed but not set ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ####
-rc1 WFM
Best regards, Marek Vasut

Dear Fabio Estevam,
Hi,
I have just tried the latest U-boot and I am getting the following when trying to load today's linux-next:
[...]
I just tested stock u-boot/master ... (it is annoying and slooooooow, since it doesn't have a huge pile of patches I plan to push into -next ;-) ) ... but it works. So it's a problem with the EVK.
U-Boot 2012.07-rc3-00001-gd592802 (Jul 28 2012 - 01:18:16)
Freescale i.MX28 family at 454 MHz BOOT: SSP SD/MMC #0, 3V3 I2C: ready DRAM: 128 MiB NAND: 256 MiB MMC: MXS MMC: 0 In: serial Out: serial Err: serial Net: FEC0 [PRIME], FEC1 Hit any key to stop autoboot: 0 => => boot Using FEC0 device TFTP from server 192.168.1.1; our IP address is 192.168.1.60 Filename 'imx28-m28evk.dtb'. Load address: 0x41000000 Loading: #### done Bytes transferred = 15874 (3e02 hex) Using FEC0 device TFTP from server 192.168.1.1; our IP address is 192.168.1.60 Filename 'uImage'. Load address: 0x42000000 Loading: T ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############################## done Bytes transferred = 3147744 (3007e0 hex) ## Booting kernel from Legacy Image at 42000000 ... Image Name: Linux-3.5.0-next-20120723-00021- Created: 2012-07-27 18:21:30 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3147680 Bytes = 3 MiB Load Address: 40008000 Entry Point: 40008000 Verifying Checksum ... OK ## Flattened Device Tree blob at 41000000 Booting using the fdt blob at 0x41000000 Loading Kernel Image ... OK OK Loading Device Tree to 47b4e000, end 47b54e01 ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.5.0-next-20120723-00021-g186fab7-dirty (root@mashiro) (gcc version 4.7.1 (Debian 4.7.1-3) ) #19022 [ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine: Freescale i.MX28 (Device Tree), model: DENX M28EVK
btw. now "they" know my ip address range ;-D
Best regards, Marek Vasut

On Fri, Jul 27, 2012 at 3:14 PM, Fabio Estevam festevam@gmail.com wrote:
Bytes transferred = 3343968 (330660 hex) ## Booting kernel from Legacy Image at 42000000 ... Image Name: Linux-3.5.0-next-20120727+ Created: 2012-07-27 17:27:30 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3343904 Bytes = 3.2 MiB Load Address: 80008000 Entry Point: 80008000
My mistake: I was working with mx31 previously which has this LOADADDR.
Using the correct LOADADDR for mx28 makes the kernel to boot just fine on 2012.07-rc3.
Sorry for the noise.
Regards,
Fabio Estevam
participants (3)
-
Fabio Estevam
-
Marek Vasut
-
Wolfgang Denk