Bl301 injection, problems, help,

It works with all the remote I have, good it :wink:

The only problem is that it turn on at any AVR HDMI input change, which normally it is solved disabling the “active route” as you suggested, but without bl301 it is not possible.

Not a big problem though.

@Portisch are you in also on RAM configuration and dtb stuff? There is a problem with the 4Gb (I have opened a topic on it), I would like to help on it

Hi

It seems that at least on my bl301 injected a95x-b7n (GXL) if the box is powered off via CEC after at least one video playback, then it is not possible to turn it on via remote or CEC.

Sorry if I cannot provide logs, if anything is sent by the box attempting to power on, but I waiting for the delivery of the SDIO UART adaptor.

The issue is present with 9.2.4.2 and latest nightly

It’s on the way…

Did you setup the correct ir wakeup code?

Yes sure. It works most of the time, except on this very particular case and actually, seems only with my Samsung TV.

I have an AZW (Beelink?) W95 (S905W) box.

I was running the CoreELEC 9.2.4.2 non -ng version.
The power off/on and suspend off/on worked correctly.
CEC did not work but it isn’t supported by the OEM (it’s not clear to me if BL301 injection is supposed to do anything about this).

I upgraded to the 9.2.4.2 -ng version of CoreELEC.
Power off/on work correctly but the box immediately re-awakes after a suspend command.
CEC does not work.

I injected BL301.
The power off and suspend commands work. However, the power button will not turn on or wake the device once off/suspended. I have to power cycle the box to restart it. I tried all of the different IR Remote Power Codes.
CEC does not work.

I ran ir-keytable and found the codes for the button I assigned.
I put the following lines in my remote.conf file and rebooted:

remotewakeup=‘0xb04f7f80’
decode_type=‘0x0’
remotewakeupmask=‘0xffffffff’

The assigned button does not power on/wake the box.

Anything else I should try?

Thanks

Read the guide carefully, remote.conf is not the correct place.

Thanks, that worked.
And, just to help me understand, if CEC wasn’t included with the box from the factory, should I expect to be able to get it to work? Or is that hardware related?
Thanks

Hello,

In the last image, there is not bl301 injection menu:

Need I activate it from command line?

Regards.

If your device is a S905x the answer is yes!

1 Like

Thanks!

I execute the command and now there is BL301 options in the hardware menu.

Thanks!

1 Like

my tv box doesn’t allow me to inject bl301 because the bootloader is encrypted. how do I setup my remote to wake up my tv box when this is the case.

You could try to use remote.conf for you IR remote and possible power button will work for wake up

2 Likes

Correct, configure remote.conf or a meson-ir rc_maps.cfg. If the vendor added the correct wakeup code it can work. If not then nothing you can do.

1 Like

thank you very much for your replies, so I have the ran through this setup for meson-ir…How to configure IR remote control after doing so, I am able to shutdown my tvbox via the power button on my remote but not turn it on. Am I missing anything or am I out of luck since I can’t inject the bl301 blob into my bootloader is encrypted currently running a a95x-f3 air.

As I said before try amremote(remote.conf) instead of meson-ir.
Or update to nightly build if you want to use meson-ir

1 Like

thanks for the help, that worked! im all squared away…

A95X-F3 AIR with working power up and power down via remote.conf (amremote)

Hi @Portisch

I have captured the issue with S905X with -ng build and bl301 that cause the device stuck after power off if, apparently, connected to a Samsung TV

There is an oops in CEC routines:

This happen like 90% of the time at poweroff. Auto shutdown is also affected, which means it is affected the device even if the TV is already powered off.
In the log I have switched off the device with its remote, not by CEC

You have enabled any cec debug?
This dump_cecrx_reg should normally not be called anytime. If it get called it looks like to read some hdmirx registers. And I remember there is a kernel oops because of the frame switch @cdu13a when booting, enter suspend and resume without a hdmi connection. Maybe it’s the same fault.
Never have seen such kernel oops as this function call should only be done in debug/dump mode of the driver.

It’s only a effect of bl301 as suspend/resume is working now what wasn’t before.

No, I did not enable anything at least on purpose. These are s905x box that have been updated across non ng to ng a couple of months ago.

Where can I check for this Debug setting?

As you just updated can you try to do a clean install?
Just prepare a other uSD card or usb stick and flash Amlogic-ng 9.2.5 on it. Copy your matching dtb.img and try again. If it is solved it’s maybe a unknown setting somewhere on the gxl system.