Skip to contentSkip to conversation

pandaboard not booting

DISCUSSION Radu Moisan 8 participants 27 messages Sep 25, 2012 – Oct 2, 2012

lore
Share & tools
lore
#0 lore raw

Hi guys,
I tried to start pandaboard with latest from master but it got stuck booting the kernel. This is all I got, do you have any idea what am I missing?

U-Boot SPL 2011.12-dirty (Sep 24 2012 - 17:18:42)
Texas Instruments OMAP4430 ES2.3
Bypassing DPLL failed 4a008180
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img

U-Boot 2011.12-dirty (Sep 24 2012 - 17:18:42)

CPU  : OMAP4430 ES2.3
Board: OMAP4 Panda
I2C:   ready
DRAM:  1 GiB
MMC:   OMAP SD/MMC: 0

Using default environment

In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0

reading boot.scr

** Unable to read "boot.scr" from mmc 0:1 **
reading uImage

4176612 bytes read
Booting from mmc0 ...
## Booting kernel from Legacy Image at 82000000 ...

   Image Name:   Linux-3.1.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4176548 Bytes = 4 MiB

Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Thanks,
Radu

#1 lore raw

Hi guys,
Can anyone tell me if pandaboard is working with master branch of poky? I just don't want to waste my time figuring out what I've done wrong, if the build is not working anyway.

Thanks,
Radu

Quoted 56 lines · Radu Moisan

Hi guys,
I tried to start pandaboard with latest from master but it got stuck booting the kernel. This is all I got, do you have any idea what am I missing?

U-Boot SPL 2011.12-dirty (Sep 24 2012 - 17:18:42)
Texas Instruments OMAP4430 ES2.3
Bypassing DPLL failed 4a008180
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img

U-Boot 2011.12-dirty (Sep 24 2012 - 17:18:42)

CPU  : OMAP4430 ES2.3
Board: OMAP4 Panda
I2C:   ready
DRAM:  1 GiB
MMC:   OMAP SD/MMC: 0

Using default environment

In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0

reading boot.scr

** Unable to read "boot.scr" from mmc 0:1 **
reading uImage

4176612 bytes read
Booting from mmc0 ...
## Booting kernel from Legacy Image at 82000000 ...

   Image Name:   Linux-3.1.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4176548 Bytes = 4 MiB

Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Thanks,
Radu

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#2 lore raw
Quoted 4 lines · Radu Moisan

Hi guys,
Can anyone tell me if pandaboard is working with master branch of poky? I just don't want to waste my time figuring out what I've done wrong, if the build is not working anyway.

It's a long time since i tried it but it was working, can you post your bootloader env? Maybe you are just missing the console=ttyO2... part.

Enrico

#3 lore raw

Hi Enrico,
I'm not sure what are you reffering to when you say bootloader env, but here's what I get on my console:

U-Boot SPL 2011.12-dirty (Sep 24 2012 - 17:18:42)
Texas Instruments OMAP4430 ES2.3
Bypassing DPLL failed 4a008180
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img

U-Boot 2011.12-dirty (Sep 24 2012 - 17:18:42)

CPU  : OMAP4430 ES2.3
Board: OMAP4 Panda
I2C:   ready
DRAM:  1 GiB
MMC:   OMAP SD/MMC: 0

Using default environment

In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0

reading boot.scr

** Unable to read "boot.scr" from mmc 0:1 **
reading uImage

4176612 bytes read
Booting from mmc0 ...
## Booting kernel from Legacy Image at 82000000 ...

   Image Name:   Linux-3.1.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4176548 Bytes = 4 MiB

Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

All I did to build it, was to add meta-ti to my bblayers.conf and try bitbake with MACHINE=pandaboard. The build was screaming about some QA errors, which I had to disable to get the build finish. I'm assuming those are the reason for my failure. However, I did not investigate further into these.

Thanks,
Radu

Quoted 10 lines · Enrico
Quoted 4 lines · Radu Moisan

Hi guys,
Can anyone tell me if pandaboard is working with master branch of poky? I just don't want to waste my time figuring out what I've done wrong, if the build is not working anyway.

It's a long time since i tried it but it was working, can you post your bootloader env? Maybe you are just missing the console=ttyO2... part.

Enrico

#4 lore raw
Quoted 41 lines · Radu Moisan

Hi Enrico,
I'm not sure what are you reffering to when you say bootloader env, but here's what I get on my console:

U-Boot SPL 2011.12-dirty (Sep 24 2012 - 17:18:42)
Texas Instruments OMAP4430 ES2.3
Bypassing DPLL failed 4a008180
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img

U-Boot 2011.12-dirty (Sep 24 2012 - 17:18:42)

CPU  : OMAP4430 ES2.3
Board: OMAP4 Panda
I2C:   ready
DRAM:  1 GiB
MMC:   OMAP SD/MMC: 0

Using default environment

In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0

reading boot.scr

** Unable to read "boot.scr" from mmc 0:1 **
reading uImage

4176612 bytes read
Booting from mmc0 ...
## Booting kernel from Legacy Image at 82000000 ...

    Image Name:   Linux-3.1.0
    Image Type:   ARM Linux Kernel Image (uncompressed)
    Data Size:    4176548 Bytes = 4 MiB

Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Quoted 6 lines

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

All I did to build it, was to add meta-ti to my bblayers.conf and try bitbake with MACHINE=pandaboard. The build was screaming about some QA errors, which I had to disable to get the build finish. I'm assuming those are the reason for my failure. However, I did not investigate further into these.

Break into U-Boot during the boot process and show us what you get from the 'printenv' command. This will show the default value of 'bootargs' which is what is being used since you don't have a 'boot.scr' script

Quoted 11 lines · Enrico
Quoted 10 lines · Radu Moisan
Quoted 4 lines

Hi guys,
Can anyone tell me if pandaboard is working with master branch of poky? I just don't want to waste my time figuring out what I've done wrong, if the build is not working anyway.

It's a long time since i tried it but it was working, can you post your bootloader env? Maybe you are just missing the console=ttyO2... part.

Enrico

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#5 lore raw
Quoted 44 lines · Gary Thomas
Quoted 43 lines · Radu Moisan

Hi Enrico,
I'm not sure what are you reffering to when you say bootloader env, but here's what I get on my console:

U-Boot SPL 2011.12-dirty (Sep 24 2012 - 17:18:42)
Texas Instruments OMAP4430 ES2.3
Bypassing DPLL failed 4a008180
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img

U-Boot 2011.12-dirty (Sep 24 2012 - 17:18:42)

CPU  : OMAP4430 ES2.3
Board: OMAP4 Panda
I2C:   ready
DRAM:  1 GiB
MMC:   OMAP SD/MMC: 0

Using default environment

In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0

reading boot.scr

** Unable to read "boot.scr" from mmc 0:1 **
reading uImage

4176612 bytes read
Booting from mmc0 ...
## Booting kernel from Legacy Image at 82000000 ...

    Image Name:   Linux-3.1.0
    Image Type:   ARM Linux Kernel Image (uncompressed)
    Data Size:    4176548 Bytes = 4 MiB

Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Quoted 9 lines
Quoted 4 lines

Uncompressing Linux... done, booting the kernel.

All I did to build it, was to add meta-ti to my bblayers.conf and try bitbake with MACHINE=pandaboard. The build was screaming about some QA errors, which I had to disable to get the build finish. I'm assuming those are the reason for my failure. However, I did not investigate further into these.

Break into U-Boot during the boot process and show us what you get from the 'printenv' command. This will show the default value of 'bootargs' which is what is being used since you don't have a 'boot.scr' script

Panda # printenv
baudrate=115200
bootcmd=if mmc rescan ${mmcdev}; then if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; fi; fi; fi bootdelay=3
bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
console=ttyO2,115200n8
loadaddr=0x82000000
loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr
loaduimage=fatload mmc ${mmcdev} ${loadaddr} uImage
mmcargs=setenv bootargs console=${console} vram=${vram} root=${mmcroot} rootfstype=${mmcrootfstype}
mmcboot=echo Booting from mmc${mmcdev} ...; run mmcargs; bootm ${loadaddr}
mmcdev=0
mmcroot=/dev/mmcblk0p2 ro
mmcrootfstype=ext4 rootwait
usbtty=cdc_acm
vram=16M

Environment size: 686/131068 bytes

Thanks,
Radu

#6 lore raw
Quoted 72 lines · Radu Moisan
Quoted 44 lines · Gary Thomas
Quoted 43 lines · Radu Moisan

Hi Enrico,
I'm not sure what are you reffering to when you say bootloader env, but here's what I get on my console:

U-Boot SPL 2011.12-dirty (Sep 24 2012 - 17:18:42)
Texas Instruments OMAP4430 ES2.3
Bypassing DPLL failed 4a008180
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img

U-Boot 2011.12-dirty (Sep 24 2012 - 17:18:42)

CPU  : OMAP4430 ES2.3
Board: OMAP4 Panda
I2C:   ready
DRAM:  1 GiB
MMC:   OMAP SD/MMC: 0

Using default environment

In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0

reading boot.scr

** Unable to read "boot.scr" from mmc 0:1 **
reading uImage

4176612 bytes read
Booting from mmc0 ...
## Booting kernel from Legacy Image at 82000000 ...

    Image Name:   Linux-3.1.0
    Image Type:   ARM Linux Kernel Image (uncompressed)
    Data Size:    4176548 Bytes = 4 MiB

Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Quoted 9 lines
Quoted 4 lines

Uncompressing Linux... done, booting the kernel.

All I did to build it, was to add meta-ti to my bblayers.conf and try bitbake with MACHINE=pandaboard. The build was screaming about some QA errors, which I had to disable to get the build finish. I'm assuming those are the reason for my failure. However, I did not investigate further into these.

Break into U-Boot during the boot process and show us what you get from the 'printenv' command. This will show the default value of 'bootargs' which is what is being used since you don't have a 'boot.scr' script

Panda # printenv
baudrate=115200
bootcmd=if mmc rescan ${mmcdev}; then if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; fi; fi; fi bootdelay=3
bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
console=ttyO2,115200n8
loadaddr=0x82000000
loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr
loaduimage=fatload mmc ${mmcdev} ${loadaddr} uImage
mmcargs=setenv bootargs console=${console} vram=${vram} root=${mmcroot} rootfstype=${mmcrootfstype}
mmcboot=echo Booting from mmc${mmcdev} ...; run mmcargs; bootm ${loadaddr}
mmcdev=0
mmcroot=/dev/mmcblk0p2 ro
mmcrootfstype=ext4 rootwait
usbtty=cdc_acm
vram=16M

Quoted 1 line

Environment size: 686/131068 bytes

This looks correct - the important bit is that console=ttyO2

Diagnosing why this doesn't come up may be a bit trickier. One thing that you can do is to look at the kernel messages (which are not being printed!). Thankfully, those are kept buffered in memory and you should be able to print them manually.

Give these steps a go:
* Boot as you have been, letting it hang after starting the kernel
* Press the RESET button on the PandaBoard
* Break into U-Boot
* Dump the kernel messages via:
U-Boot> md LOG_BUF_ADDRESS
This will display 256 bytes at LOG_BUF_ADDRESS. If you just press return, you'll get to see the next 256 bytes, etc. Keep doing this until the messages stop...

To find the LOG_BUF_ADDRESS, search for __log_buf in the System.map which was created when you built your kernel. This will be in your Yocto build tree .../tmp/work/pandaboard*/linux*/git (I think - I don't have a build for this machine handy) You'll see something like this:

   $ grep __log_buf tmp/work/panda*/linux*/git/System.map
   c06d66e9 b __log_buf
That's a virtual address which corresponds to 0x806d66e9 in physical RAM.  Truncate
the address to a longword value, i.e. 0x806d66e8 - that's LOG_BUF_ADDRESS

See what you get, it may provide a clue where the kernel is crashing.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#7 lore raw
Quoted 21 lines

This looks correct - the important bit is that console=ttyO2

Diagnosing why this doesn't come up may be a bit trickier. One thing that you can do is to look at the kernel messages (which are not being printed!). Thankfully, those are kept buffered in memory and you should be able to print them manually.

Give these steps a go:
* Boot as you have been, letting it hang after starting the kernel
* Press the RESET button on the PandaBoard
* Break into U-Boot
* Dump the kernel messages via:
U-Boot> md LOG_BUF_ADDRESS
This will display 256 bytes at LOG_BUF_ADDRESS. If you just press
return, you'll
get to see the next 256 bytes, etc. Keep doing this until the
messages stop...

To find the LOG_BUF_ADDRESS, search for __log_buf in the System.map which was created when you built your kernel. This will be in your Yocto build tree .../tmp/work/pandaboard*/linux*/git (I think - I don't have a build for this machine handy) You'll see something like this:

Quoted 7 lines
   $ grep __log_buf tmp/work/panda*/linux*/git/System.map
   c06d66e9 b __log_buf
That's a virtual address which corresponds to 0x806d66e9 in physical RAM.  Truncate
the address to a longword value, i.e. 0x806d66e8 - that's LOG_BUF_ADDRESS

See what you get, it may provide a clue where the kernel is crashing.

Everything went ok, except the board doesn't reset when I press the reset button, or at least I can't see that in the serial console, it stays stuck at line "booting kernel..."

Radu

#8 lore raw

Hi,

I would like to jump into this discussion, as I'm facing exact the same problem. I try to build the meta-ivi System. Therefore, I have setup my system with the following layers:

- meta-ivi
- meta-systemd
- poky
- meta-ti

bblayers.conf looks like this:

# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf

# changes incompatibly
LCONF_VERSION = "5"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
/home/csb/yocto-excalibur/yocto-ivi/meta-ti \
/home/csb/yocto-excalibur/yocto-ivi/poky/meta \
/home/csb /yocto-excalibur/yocto-ivi/poky/meta-yocto \
/home/csb /yocto-excalibur/yocto-ivi/meta-ivi \
/home/csb /yocto-excalibur/yocto-ivi/meta-systemd \
"

The meta-ti misc subdir is excluded from build via BBMASK = "meta-ti/recipes-misc" in local.conf. MACHINE is set to pandabaord -> MACHINE ??= "pandaboard"

The build process went through without any suspicious warnings. But in the end, I stuck with the same problem as Radu, except the fact, that I'm using a boot.scr. Here is my console output:

U-Boot SPL 2011.12-dirty (Sep 27 2012 - 07:42:14)
Texas Instruments OMAP4460 ES1.1
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img

U-Boot 2011.12-dirty (Sep 27 2012 - 07:42:14)

CPU  : OMAP4460 ES1.1
Board: OMAP4 Panda
I2C:   ready
DRAM:  1 GiB
MMC:   OMAP SD/MMC: 0

Using default environment

In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0

reading boot.scr

390 bytes read
Running bootscript from mmc0 ...
## Executing script at 82000000
reading uImage

4176496 bytes read
## Booting kernel from Legacy Image at 80000000 ...

   Image Name:   Linux-3.1.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4176432 Bytes = 4 MiB

Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

At the end, both LED's on Pandaboard (D1 and D2) are switched on. Pressing reset does not help, only LED D1 is switched off.

I used the meta.ivi layer in combination with meta-ti before in a much older version, which worked fine for me, but at the moment I have no idea what's wrong with my configuration.

Best regards,
Christian

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Radu Moisan
Gesendet: Mittwoch, 26. September 2012 15:50
An: [email protected]
Betreff: Re: [meta-ti] pandaboard not booting

Quoted 26 lines

This looks correct - the important bit is that console=ttyO2

Diagnosing why this doesn't come up may be a bit trickier. One thing that you
can do is to look at the kernel messages (which are not being printed!). Thankfully,
those are kept buffered in memory and you should be able to print them manually.

Give these steps a go:
* Boot as you have been, letting it hang after starting the kernel
* Press the RESET button on the PandaBoard
* Break into U-Boot
* Dump the kernel messages via:
U-Boot> md LOG_BUF_ADDRESS
This will display 256 bytes at LOG_BUF_ADDRESS. If you just press
return, you'll
get to see the next 256 bytes, etc. Keep doing this until the
messages stop...

To find the LOG_BUF_ADDRESS, search for __log_buf in the System.map which was created
when you built your kernel. This will be in your Yocto build tree .../tmp/work/pandaboard*/linux*/git
(I think - I don't have a build for this machine handy) You'll see something like this:

Quoted 8 lines
   $ grep __log_buf tmp/work/panda*/linux*/git/System.map
   c06d66e9 b __log_buf
That's a virtual address which corresponds to 0x806d66e9 in physical 
RAM.  Truncate
the address to a longword value, i.e. 0x806d66e8 - that's LOG_BUF_ADDRESS

See what you get, it may provide a clue where the kernel is crashing.

Everything went ok, except the board doesn't reset when I press the reset button, or at least I can't see that in the serial console, it stays stuck at line "booting kernel..."

Radu
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#9 lore raw

Same led story on my side as well.

Radu

Quoted 130 lines · On 09/27/2012 10:25 AM, [email protected] wrote:

Hi,

I would like to jump into this discussion, as I'm facing exact the same problem. I try to build the meta-ivi System. Therefore, I have setup my system with the following layers:

- meta-ivi
- meta-systemd
- poky
- meta-ti

bblayers.conf looks like this:

# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf

# changes incompatibly
LCONF_VERSION = "5"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
   /home/csb/yocto-excalibur/yocto-ivi/meta-ti \
   /home/csb/yocto-excalibur/yocto-ivi/poky/meta \
   /home/csb /yocto-excalibur/yocto-ivi/poky/meta-yocto \
   /home/csb /yocto-excalibur/yocto-ivi/meta-ivi \
   /home/csb /yocto-excalibur/yocto-ivi/meta-systemd \
   "

The meta-ti misc subdir is excluded from build via BBMASK = "meta-ti/recipes-misc" in local.conf. MACHINE is set to pandabaord -> MACHINE ??= "pandaboard"

The build process went through without any suspicious warnings. But in the end, I stuck with the same problem as Radu, except the fact, that I'm using a boot.scr. Here is my console output:

U-Boot SPL 2011.12-dirty (Sep 27 2012 - 07:42:14)
Texas Instruments OMAP4460 ES1.1
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img

U-Boot 2011.12-dirty (Sep 27 2012 - 07:42:14)

CPU  : OMAP4460 ES1.1
Board: OMAP4 Panda
I2C:   ready
DRAM:  1 GiB
MMC:   OMAP SD/MMC: 0

Using default environment

In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0

reading boot.scr

390 bytes read
Running bootscript from mmc0 ...
## Executing script at 82000000
reading uImage

4176496 bytes read
## Booting kernel from Legacy Image at 80000000 ...

    Image Name:   Linux-3.1.0
    Image Type:   ARM Linux Kernel Image (uncompressed)
    Data Size:    4176432 Bytes = 4 MiB

Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

At the end, both LED's on Pandaboard (D1 and D2) are switched on. Pressing reset does not help, only LED D1 is switched off.

I used the meta.ivi layer in combination with meta-ti before in a much older version, which worked fine for me, but at the moment I have no idea what's wrong with my configuration.

Best regards,
Christian

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Radu Moisan
Gesendet: Mittwoch, 26. September 2012 15:50
An: [email protected]
Betreff: Re: [meta-ti] pandaboard not booting

Quoted 26 lines

This looks correct - the important bit is that console=ttyO2

Diagnosing why this doesn't come up may be a bit trickier. One thing that you
can do is to look at the kernel messages (which are not being printed!). Thankfully,
those are kept buffered in memory and you should be able to print them manually.

Give these steps a go:
* Boot as you have been, letting it hang after starting the kernel
* Press the RESET button on the PandaBoard
* Break into U-Boot
* Dump the kernel messages via:
U-Boot> md LOG_BUF_ADDRESS
This will display 256 bytes at LOG_BUF_ADDRESS. If you just press
return, you'll
get to see the next 256 bytes, etc. Keep doing this until the
messages stop...

To find the LOG_BUF_ADDRESS, search for __log_buf in the System.map which was created
when you built your kernel. This will be in your Yocto build tree .../tmp/work/pandaboard*/linux*/git
(I think - I don't have a build for this machine handy) You'll see something like this:

Quoted 8 lines
    $ grep __log_buf tmp/work/panda*/linux*/git/System.map
    c06d66e9 b __log_buf
That's a virtual address which corresponds to 0x806d66e9 in physical
RAM.  Truncate
the address to a longword value, i.e. 0x806d66e8 - that's LOG_BUF_ADDRESS

See what you get, it may provide a clue where the kernel is crashing.

Everything went ok, except the board doesn't reset when I press the reset button, or at least I can't see that in the serial console, it stays stuck at line "booting kernel..."

Radu
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#10 lore raw
In reply to [email protected]
Quoted 1 line · On Thu, Sep 27, 2012 at 9:25 AM, <[email protected]> wrote:

I used the meta.ivi layer in combination with meta-ti before in a much older version, which worked fine for me, but at the moment I have no idea what's wrong with my configuration.

Maybe it's not a problem with your config but just a kernel bug or a faulty toolchain+kernel combination.

You can try to manually build a (recent) kernel and see if it boots, if you need directions just ask.

Enrico

#11 lore raw

I'm using the same kernel version as I did before. It's the default kernel 3.1 as configured in the meta-ti layer: ti-ubuntu-3.1.0-1282.11, Revision: a5c60c099296fcfc0c8fa8085c40883971486512

Do you really think it makes sense to switch to a more recent one?

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Enrico
Gesendet: Donnerstag, 27. September 2012 10:48
An: Schulenberg Christian, EI-42
Cc: [email protected]; [email protected]
Betreff: Re: [meta-ti] pandaboard not booting

Quoted 1 line · On Thu, Sep 27, 2012 at 9:25 AM, <[email protected]> wrote:

I used the meta.ivi layer in combination with meta-ti before in a much older version, which worked fine for me, but at the moment I have no idea what's wrong with my configuration.

Maybe it's not a problem with your config but just a kernel bug or a faulty toolchain+kernel combination.

You can try to manually build a (recent) kernel and see if it boots, if you need directions just ask.

Enrico

#12 lore raw
Quoted 3 lines · On Thu, Sep 27, 2012 at 1:16 PM, <[email protected]> wrote:

I'm using the same kernel version as I did before. It's the default kernel 3.1 as configured in the meta-ti layer: ti-ubuntu-3.1.0-1282.11, Revision: a5c60c099296fcfc0c8fa8085c40883971486512

Do you really think it makes sense to switch to a more recent one?

No, but i have no better ideas right now...

You could check if it's a known toolchain bug with that kernel, but i think it would be faster to try a newer kernel (from the same repository, ti ubuntu integration).

Enrico

#13 lore raw

Hi,

as I wrote before, I have an older version. I used the kernel version of that one to start up my new meta-ivi build. It crashed later with a kernel panic, but at least the kernel is running.

After that I compared the two kernel version I have, with mkimage -l.

1. Kernel version that is working quite well:

mkimage -l uImage

Image Name:   Linux-3.1.0
Created:      Fri Sep 21 11:25:32 2012
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    4144744 Bytes = 4047.60 kB = 3.95 MB
Load Address: 80008000
Entry Point:  80008000

2. Kernel version that fails after uncompression:

mkimage -l uImage

Image Name:   Linux-3.1.0
Created:      Thu Sep 27 07:07:25 2012
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    4176432 Bytes = 4078.55 kB = 3.98 MB
Load Address: 80008000
Entry Point:  80008000

I don't see any major issues here, so I guess I need to check the toolchain as proposed by Enrico.

Christian

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Enrico
Gesendet: Donnerstag, 27. September 2012 14:07
An: Schulenberg Christian, EI-42
Cc: [email protected]
Betreff: Re: [meta-ti] pandaboard not booting

Quoted 3 lines · On Thu, Sep 27, 2012 at 1:16 PM, <[email protected]> wrote:

I'm using the same kernel version as I did before. It's the default kernel 3.1 as configured in the meta-ti layer: ti-ubuntu-3.1.0-1282.11, Revision: a5c60c099296fcfc0c8fa8085c40883971486512

Do you really think it makes sense to switch to a more recent one?

No, but i have no better ideas right now...

You could check if it's a known toolchain bug with that kernel, but i think it would be faster to try a newer kernel (from the same repository, ti ubuntu integration).

Enrico

#14 lore raw
Quoted 19 lines · On Thu, Sep 27, 2012 at 6:47 AM, <[email protected]> wrote:

Hi,

as I wrote before, I have an older version. I used the kernel version of that one to start up my new meta-ivi build. It crashed later with a kernel panic, but at least the kernel is running.

After that I compared the two kernel version I have, with mkimage -l.

1. Kernel version that is working quite well:

mkimage -l uImage

Image Name:   Linux-3.1.0
Created:      Fri Sep 21 11:25:32 2012
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    4144744 Bytes = 4047.60 kB = 3.95 MB
Load Address: 80008000
Entry Point:  80008000

2. Kernel version that fails after uncompression:

mkimage -l uImage

Quoted 9 lines
Image Name:   Linux-3.1.0
Created:      Thu Sep 27 07:07:25 2012
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    4176432 Bytes = 4078.55 kB = 3.98 MB
Load Address: 80008000
Entry Point:  80008000

I don't see any major issues here, so I guess I need to check the toolchain as proposed by Enrico.

Download denzil SDK for arm which is gcc 4.6 based and compile kernel using that and see if that boots. There could be some kernel+toolchain interaction w.r.t gcc 4.7 which is what is
default in current master/(would be 1.3) release, sometimes gcc exposes latent bugs in kernel
and at times its wise versa

Quoted 25 lines

Christian

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Enrico
Gesendet: Donnerstag, 27. September 2012 14:07
An: Schulenberg Christian, EI-42
Cc: [email protected]
Betreff: Re: [meta-ti] pandaboard not booting

Quoted 3 lines · On Thu, Sep 27, 2012 at 1:16 PM, <[email protected]> wrote:

I'm using the same kernel version as I did before. It's the default kernel 3.1 as configured in the meta-ti layer: ti-ubuntu-3.1.0-1282.11, Revision: a5c60c099296fcfc0c8fa8085c40883971486512

Do you really think it makes sense to switch to a more recent one?

No, but i have no better ideas right now...

You could check if it's a known toolchain bug with that kernel, but i think it would be faster to try a newer kernel (from the same repository, ti ubuntu integration).

Enrico
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#15 lore raw
Quoted 30 lines · Khem Raj
Quoted 19 lines · On Thu, Sep 27, 2012 at 6:47 AM, <[email protected]> wrote:

Hi,

as I wrote before, I have an older version. I used the kernel version of that one to start up my new meta-ivi build. It crashed later with a kernel panic, but at least the kernel is running.

After that I compared the two kernel version I have, with mkimage -l.

1. Kernel version that is working quite well:

mkimage -l uImage

Image Name:   Linux-3.1.0
Created:      Fri Sep 21 11:25:32 2012
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    4144744 Bytes = 4047.60 kB = 3.95 MB
Load Address: 80008000
Entry Point:  80008000

2. Kernel version that fails after uncompression:

mkimage -l uImage

Quoted 9 lines
Image Name:   Linux-3.1.0
Created:      Thu Sep 27 07:07:25 2012
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    4176432 Bytes = 4078.55 kB = 3.98 MB
Load Address: 80008000
Entry Point:  80008000

I don't see any major issues here, so I guess I need to check the toolchain as proposed by Enrico.

Quoted 6 lines

Download denzil SDK for arm which is gcc 4.6 based and compile kernel using that and see if that boots. There could be some kernel+toolchain interaction w.r.t gcc 4.7 which is what is
default in current master/(would be 1.3) release, sometimes gcc exposes latent bugs in kernel
and at times its wise versa

I've tried this kernel on a PandaBoard, built with both GCC-4.7.2 (latest master) and GCC-4.6.3 (~denzil). Both fail during to come up.

The next step would be to diagnose this with a JTAG. Sadly, I've not been able to get my XDS100v2 to work with the PandaBoard yet, so it'll have to be someone else to carry this torch.

Quoted 31 lines
Quoted 21 lines

Christian

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Enrico
Gesendet: Donnerstag, 27. September 2012 14:07
An: Schulenberg Christian, EI-42
Cc: [email protected]
Betreff: Re: [meta-ti] pandaboard not booting

Quoted 3 lines · On Thu, Sep 27, 2012 at 1:16 PM, <[email protected]> wrote:

I'm using the same kernel version as I did before. It's the default kernel 3.1 as configured in the meta-ti layer: ti-ubuntu-3.1.0-1282.11, Revision: a5c60c099296fcfc0c8fa8085c40883971486512

Do you really think it makes sense to switch to a more recent one?

No, but i have no better ideas right now...

You could check if it's a known toolchain bug with that kernel, but i think it would be faster to try a newer kernel (from the same repository, ti ubuntu integration).

Quoted 5 lines

Enrico
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#16 lore raw
Quoted 44 lines · Gary Thomas
Quoted 35 lines · Khem Raj
Quoted 29 lines · On Thu, Sep 27, 2012 at 6:47 AM, <[email protected]> wrote:

Hi,

as I wrote before, I have an older version. I used the kernel version of that one to start up my new meta-ivi build. It crashed later with a kernel panic, but at least the kernel is running.

After that I compared the two kernel version I have, with mkimage -l.

1. Kernel version that is working quite well:

mkimage -l uImage

Image Name:   Linux-3.1.0
Created:      Fri Sep 21 11:25:32 2012
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    4144744 Bytes = 4047.60 kB = 3.95 MB
Load Address: 80008000
Entry Point:  80008000

2. Kernel version that fails after uncompression:

mkimage -l uImage

Image Name:   Linux-3.1.0
Created:      Thu Sep 27 07:07:25 2012
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    4176432 Bytes = 4078.55 kB = 3.98 MB
Load Address: 80008000
Entry Point:  80008000
Quoted 3 lines

I don't see any major issues here, so I guess I need to check the toolchain as proposed by Enrico.

Quoted 6 lines

Download denzil SDK for arm which is gcc 4.6 based and compile kernel using that and see if that boots. There could be some kernel+toolchain interaction w.r.t gcc 4.7 which is what is
default in current master/(would be 1.3) release, sometimes gcc exposes latent bugs in kernel
and at times its wise versa

Quoted 3 lines

I've tried this kernel on a PandaBoard, built with both GCC-4.7.2 (latest master)
and GCC-4.6.3 (~denzil). Both fail during to come up.

OK you can take further step back and use edison SDK which has gcc 4.5 which then can _kind_ of eliminate the compiler if it fails with all 3

#17 lore raw
Quoted 7 lines · Khem Raj
Quoted 3 lines · Gary Thomas

I've tried this kernel on a PandaBoard, built with both GCC-4.7.2 (latest master)
and GCC-4.6.3 (~denzil). Both fail during to come up.

OK you can take further step back and use edison SDK which has gcc 4.5 which then can _kind_ of eliminate the compiler if it fails with all 3

Or take a step forward and try a newer kernel ;)

Enrico

#18 lore raw
Quoted 10 lines · Enrico
Quoted 7 lines · Khem Raj
Quoted 3 lines · Gary Thomas

I've tried this kernel on a PandaBoard, built with both GCC-4.7.2 (latest master)
and GCC-4.6.3 (~denzil). Both fail during to come up.

OK you can take further step back and use edison SDK which has gcc 4.5 which then can _kind_ of eliminate the compiler if it fails with all 3

Or take a step forward and try a newer kernel ;)

Well, the current kernel used to work at least on Pandaboard ES...

Signature · 1 line
Denys
#19 lore raw
Quoted 7 lines · Denys Dmytriyenko
Quoted 6 lines · Enrico
Quoted 5 lines · Khem Raj
Quoted 3 lines · Gary Thomas

I've tried this kernel on a PandaBoard, built with both GCC-4.7.2 (latest master)
and GCC-4.6.3 (~denzil). Both fail during to come up.

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

OK you can take further step back and use edison SDK which has gcc 4.5 which then can _kind_ of eliminate the compiler if it fails with all 3

Or take a step forward and try a newer kernel ;)

Well, the current kernel used to work at least on Pandaboard ES...

I build the Panda kernel (based on the latest TI/Ubuntu tree ti-ubuntu-3.4-1485.7 branch) all the time with the Yocto toolchain & it works just fine.

I also tried the off-the-shelf 3.1.0 which worked as well.

There must be something odd about the 3.1 kernel built from the linux-omap4-3.1.0 recipe which is the default when built using Yocto+meta-ti

n.b. this is the end of my experiments on this subject; I was only trying to help in case it was a toolchain issue since I have the old tools still around.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#20 lore raw
Quoted 9 lines · Gary Thomas

I build the Panda kernel (based on the latest TI/Ubuntu tree ti-ubuntu-3.4-1485.7 branch)
all the time with the Yocto toolchain & it works just fine.

I also tried the off-the-shelf 3.1.0 which worked as well.

There must be something odd about the 3.1 kernel built from the linux-omap4-3.1.0
recipe which is the default when built using Yocto+meta-ti

i don't think there should be any valid reason to continue with this old kernel. first there isn't anyone who maintains that branch (my team maintains that evil vendor tree). For Panda I would either recommend to use to a more recent branch (like 3.4), in fact we might even consider http://git.linaro.org/gitweb?p=landing-teams/working/ti/kernel.git
(branch tilt-3.4) as this is the base for our 'ubuntu' derived branch. in fact for Panda, just mainline might be another option too..

Quoted 4 lines

n.b. this is the end of my experiments on this subject; I was only trying to help in case it was a toolchain issue since I have the old tools still around.

#21 lore raw
Quoted 11 lines · Nicolas Dechesne
Quoted 9 lines · Gary Thomas

I build the Panda kernel (based on the latest TI/Ubuntu tree ti-ubuntu-3.4-1485.7 branch)
all the time with the Yocto toolchain & it works just fine.

I also tried the off-the-shelf 3.1.0 which worked as well.

There must be something odd about the 3.1 kernel built from the linux-omap4-3.1.0
recipe which is the default when built using Yocto+meta-ti

Quoted 7 lines

i don't think there should be any valid reason to continue with this old kernel. first there isn't anyone who maintains that branch (my team maintains that evil vendor tree). For Panda I would either recommend to use to a more recent branch (like 3.4), in fact we might even consider http://git.linaro.org/gitweb?p=landing-teams/working/ti/kernel.git
(branch tilt-3.4) as this is the base for our 'ubuntu' derived branch. in fact for Panda, just mainline might be another option too..

Thanks, Nicolas!

I'll give it a try with either of those trees and update the recipe accordingly.

Signature · 1 line
Denys
#22 lore raw
Quoted 9 lines · Denys Dmytriyenko
Quoted 7 lines · Nicolas Dechesne

i don't think there should be any valid reason to continue with this old kernel. first there isn't anyone who maintains that branch (my team maintains that evil vendor tree). For Panda I would either recommend to use to a more recent branch (like 3.4), in fact we might even consider http://git.linaro.org/gitweb?p=landing-teams/working/ti/kernel.git
(branch tilt-3.4) as this is the base for our 'ubuntu' derived branch. in fact for Panda, just mainline might be another option too..

Quoted 4 lines

Thanks, Nicolas!

I'll give it a try with either of those trees and update the recipe accordingly.

Using linaro tilt kernel could be useful to add support for gst-ducati and friends more easily (using the dce firmware from their repository instead of building it from sources).

Enrico

#23 lore raw
Quoted 10 lines · Enrico
Quoted 9 lines · Denys Dmytriyenko
Quoted 7 lines · Nicolas Dechesne

i don't think there should be any valid reason to continue with this old kernel. first there isn't anyone who maintains that branch (my team maintains that evil vendor tree). For Panda I would either recommend to use to a more recent branch (like 3.4), in fact we might even consider http://git.linaro.org/gitweb?p=landing-teams/working/ti/kernel.git
(branch tilt-3.4) as this is the base for our 'ubuntu' derived branch. in fact for Panda, just mainline might be another option too..

Quoted 9 lines
Quoted 4 lines

Thanks, Nicolas!

I'll give it a try with either of those trees and update the recipe accordingly.

Using linaro tilt kernel could be useful to add support for gst-ducati and friends more easily (using the dce firmware from their repository instead of building it from sources).

that's definitely what I had in mind too...

Quoted 1 line

Enrico

#24 lore raw
In reply to Denys Dmytriyenko

Hi,

could you give me some advice, what kernel version of 3.4.x to try? Or do you have an idea, when a recipe for a more recent kernel could be available?

BR,
Christian

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Denys Dmytriyenko
Gesendet: Donnerstag, 27. September 2012 23:29
An: Nicolas Dechesne
Cc: [email protected]
Betreff: Re: [meta-ti] pandaboard not booting

Quoted 11 lines · Nicolas Dechesne
Quoted 9 lines · Gary Thomas

I build the Panda kernel (based on the latest TI/Ubuntu tree ti-ubuntu-3.4-1485.7 branch)
all the time with the Yocto toolchain & it works just fine.

I also tried the off-the-shelf 3.1.0 which worked as well.

There must be something odd about the 3.1 kernel built from the linux-omap4-3.1.0
recipe which is the default when built using Yocto+meta-ti

Quoted 7 lines

i don't think there should be any valid reason to continue with this old kernel. first there isn't anyone who maintains that branch (my team maintains that evil vendor tree). For Panda I would either recommend to use to a more recent branch (like 3.4), in fact we might even consider http://git.linaro.org/gitweb?p=landing-teams/working/ti/kernel.git
(branch tilt-3.4) as this is the base for our 'ubuntu' derived branch. in fact for Panda, just mainline might be another option too..

Thanks, Nicolas!

I'll give it a try with either of those trees and update the recipe accordingly.

Signature · 5 lines
Denys
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#25 lore raw
Quoted 3 lines · On Fri, Sep 28, 2012 at 1:03 PM, <[email protected]> wrote:

Hi,

could you give me some advice, what kernel version of 3.4.x to try? Or do you have an idea, when a recipe for a more recent kernel could be available?

http://git.linaro.org/gitweb?p=landing-teams/working/ti/kernel.git
branch: tilt-3.4
config: omap4plus_defconfig

Quoted 42 lines

BR,
Christian

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Denys Dmytriyenko
Gesendet: Donnerstag, 27. September 2012 23:29
An: Nicolas Dechesne
Cc: [email protected]
Betreff: Re: [meta-ti] pandaboard not booting

Quoted 11 lines · Nicolas Dechesne
Quoted 9 lines · Gary Thomas

I build the Panda kernel (based on the latest TI/Ubuntu tree ti-ubuntu-3.4-1485.7 branch)
all the time with the Yocto toolchain & it works just fine.

I also tried the off-the-shelf 3.1.0 which worked as well.

There must be something odd about the 3.1 kernel built from the linux-omap4-3.1.0
recipe which is the default when built using Yocto+meta-ti

Quoted 7 lines

i don't think there should be any valid reason to continue with this old kernel. first there isn't anyone who maintains that branch (my team maintains that evil vendor tree). For Panda I would either recommend to use to a more recent branch (like 3.4), in fact we might even consider http://git.linaro.org/gitweb?p=landing-teams/working/ti/kernel.git
(branch tilt-3.4) as this is the base for our 'ubuntu' derived branch. in fact for Panda, just mainline might be another option too..

Thanks, Nicolas!

I'll give it a try with either of those trees and update the recipe accordingly.

--
Denys
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#26 lore raw

Hi,

thanks for the hint to use kernel 3.4.

I updated my meta-ti layer to use kernel 3.4.11 and it works fine for me now. I tested this with gcc 4.7.1 as well as gcc 4.6.3

Bets regards,
Christian

-----Ursprüngliche Nachricht-----
Von: Nicolas Dechesne [mailto:[email protected]]
Gesendet: Freitag, 28. September 2012 13:54
An: Schulenberg Christian, EI-42
Cc: [email protected]; [email protected]
Betreff: Re: [meta-ti] pandaboard not booting

Quoted 3 lines · On Fri, Sep 28, 2012 at 1:03 PM, <[email protected]> wrote:

Hi,

could you give me some advice, what kernel version of 3.4.x to try? Or do you have an idea, when a recipe for a more recent kernel could be available?

http://git.linaro.org/gitweb?p=landing-teams/working/ti/kernel.git
branch: tilt-3.4
config: omap4plus_defconfig

Quoted 42 lines

BR,
Christian

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Denys Dmytriyenko
Gesendet: Donnerstag, 27. September 2012 23:29
An: Nicolas Dechesne
Cc: [email protected]
Betreff: Re: [meta-ti] pandaboard not booting

Quoted 11 lines · Nicolas Dechesne
Quoted 9 lines · Gary Thomas

I build the Panda kernel (based on the latest TI/Ubuntu tree ti-ubuntu-3.4-1485.7 branch)
all the time with the Yocto toolchain & it works just fine.

I also tried the off-the-shelf 3.1.0 which worked as well.

There must be something odd about the 3.1 kernel built from the linux-omap4-3.1.0
recipe which is the default when built using Yocto+meta-ti

Quoted 7 lines

i don't think there should be any valid reason to continue with this old kernel. first there isn't anyone who maintains that branch (my team maintains that evil vendor tree). For Panda I would either recommend to use to a more recent branch (like 3.4), in fact we might even consider http://git.linaro.org/gitweb?p=landing-teams/working/ti/kernel.git
(branch tilt-3.4) as this is the base for our 'ubuntu' derived branch. in fact for Panda, just mainline might be another option too..

Thanks, Nicolas!

I'll give it a try with either of those trees and update the recipe accordingly.

--
Denys
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti