Problems with am335x-pm-firmware.bin (Beaglebone/Robert Nelsons Kernel)

Hi,

Happy New Year everybody! :slight_smile:

With a freshly updated kernel of Robert Nelsons kernel tree
I try to include/activate/use the am335x-pm-firmware.bin blob.

I followed this guide:
http://processors.wiki.ti.com/index.php/AM335x_Power_Management_User_guide

The only difference is, that I use the ondemand governor instead of
the userspace one.

I copied the firmware to ....../linux-dev/KERNEL/firmware/am335x-pm-firmware.bin
and build the kernel after checking the settings described in the
guide.

I also copie dthe firmware blob to /lib/firmware on the beaglebone.

But dmesg does not show the magic lines

    [ 2.127075] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [ 2.137084] Copied the M3 firmware to UMEM

nor can I find the directories

    /sys/devices/system/cpu/cpu0/cpuidle/state0
    /sys/devices/system/cpu/cpu0/cpuidle/state1

on the beaglebone. Beside that, it boots fine.

I am using the defconfig (removed ..../KERNEL/. and build_kernel.sh)

The repository/branch:
    solfire:RobertCNelson/linux-dev>git branch
    * am33x-v3.2
    master

I attached the related config and the output of dmesg gzipped to this email.

What did I wrong? How can I fix it?

Thank you very much in advance for any help!
Best regards,
mcc

dmesg.gz (6.06 KB)

3.2.33-psp26.config.gz (23.8 KB)

meino.cramer@gmx.de <meino.cramer@gmx.de> [13-01-01 12:04]:

Hi,

Happy New Year everybody! :slight_smile:

With a freshly updated kernel of Robert Nelsons kernel tree
I try to include/activate/use the am335x-pm-firmware.bin blob.

I followed this guide:
http://processors.wiki.ti.com/index.php/AM335x_Power_Management_User_guide

The only difference is, that I use the ondemand governor instead of
the userspace one.

I copied the firmware to ....../linux-dev/KERNEL/firmware/am335x-pm-firmware.bin
and build the kernel after checking the settings described in the
guide.

I also copie dthe firmware blob to /lib/firmware on the beaglebone.

But dmesg does not show the magic lines

    [ 2.127075] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [ 2.137084] Copied the M3 firmware to UMEM

nor can I find the directories

    /sys/devices/system/cpu/cpu0/cpuidle/state0
    /sys/devices/system/cpu/cpu0/cpuidle/state1

on the beaglebone. Beside that, it boots fine.

I am using the defconfig (removed ..../KERNEL/. and build_kernel.sh)

The repository/branch:
    solfire:RobertCNelson/linux-dev>git branch
    * am33x-v3.2
    master

I attached the related config and the output of dmesg gzipped to this email.

What did I wrong? How can I fix it?

Thank you very much in advance for any help!
Best regards,
mcc

--
For more options, visit http://beagleboard.org/discuss

Hi,

found the bug...sorry for the false alert! :slight_smile:

Best regards,
mcc

Dear mcc,

meino.cramer@gmx.de <meino.cramer@gmx.de> [13-01-01 12:04]:

> Happy New Year everybody! :slight_smile:

to you too!

> With a freshly updated kernel of Robert Nelsons kernel tree
> I try to include/activate/use the am335x-pm-firmware.bin blob.
>
> I followed this guide:
> http://processors.wiki.ti.com/index.php/AM335x_Power_Management_User_guide
>
> The only difference is, that I use the ondemand governor instead of
> the userspace one.
>
> I copied the firmware to ....../linux-dev/KERNEL/firmware/am335x-pm-firmware.bin
> and build the kernel after checking the settings described in the
> guide.
>
> I also copie dthe firmware blob to /lib/firmware on the beaglebone.
>
> But dmesg does not show the magic lines
>
> [ 2.127075] Trying to load am335x-pm-firmware.bin (60 secs timeout)
> [ 2.137084] Copied the M3 firmware to UMEM
>
> nor can I find the directories
>
> /sys/devices/system/cpu/cpu0/cpuidle/state0
> /sys/devices/system/cpu/cpu0/cpuidle/state1
>
> on the beaglebone. Beside that, it boots fine.
>
> I am using the defconfig (removed ..../KERNEL/. and build_kernel.sh)
>
> The repository/branch:
> solfire:RobertCNelson/linux-dev>git branch
> * am33x-v3.2
> master
>
> I attached the related config and the output of dmesg gzipped to this email.
>
> What did I wrong? How can I fix it?

[…]

found the bug...sorry for the false alert! :slight_smile:

Nice. Congratulations! Could you please share your solution so others
hitting this know how to solve it too?

Thanks,

Paul

Paul Menzel <pm.debian@googlemail.com> [13-01-01 12:56]:

Dear mcc,

> meino.cramer@gmx.de <meino.cramer@gmx.de> [13-01-01 12:04]:

> > Happy New Year everybody! :slight_smile:

to you too!

> > With a freshly updated kernel of Robert Nelsons kernel tree
> > I try to include/activate/use the am335x-pm-firmware.bin blob.
> >
> > I followed this guide:
> > http://processors.wiki.ti.com/index.php/AM335x_Power_Management_User_guide
> >
> > The only difference is, that I use the ondemand governor instead of
> > the userspace one.
> >
> > I copied the firmware to ....../linux-dev/KERNEL/firmware/am335x-pm-firmware.bin
> > and build the kernel after checking the settings described in the
> > guide.
> >
> > I also copie dthe firmware blob to /lib/firmware on the beaglebone.
> >
> > But dmesg does not show the magic lines
> >
> > [ 2.127075] Trying to load am335x-pm-firmware.bin (60 secs timeout)
> > [ 2.137084] Copied the M3 firmware to UMEM
> >
> > nor can I find the directories
> >
> > /sys/devices/system/cpu/cpu0/cpuidle/state0
> > /sys/devices/system/cpu/cpu0/cpuidle/state1
> >
> > on the beaglebone. Beside that, it boots fine.
> >
> > I am using the defconfig (removed ..../KERNEL/. and build_kernel.sh)
> >
> > The repository/branch:
> > solfire:RobertCNelson/linux-dev>git branch
> > * am33x-v3.2
> > master
> >
> > I attached the related config and the output of dmesg gzipped to this email.
> >
> > What did I wrong? How can I fix it?

[…]

> found the bug...sorry for the false alert! :slight_smile:

Nice. Congratulations! Could you please share your solution so others
hitting this know how to solve it too?

Thanks,

Paul

Sorry...I thought it was obvious...I didnt followed the instructions
of the guide exactly.

Unfortunately I can suspend to mem but it does not wake up...

Best regards,
mcc

Dear’ mcc
Could tell me the method of suspending the BBB?
Now,I used “Kernel 3.8.13, Angstrom filesystem”,when I type “echo mem >/sys/power/state”,it show echo failed.
What should I do?