03:54
elastic_dog is now known as Guest1481
03:54
elastic_1 has joined #linux-amlogic
03:54
Guest1481 has quit [Killed (copper.libera.chat (Nickname regained by services))]
03:54
elastic_1 is now known as elastic_dog
06:04
jelly has quit [Excess Flood]
06:09
jelly has joined #linux-amlogic
06:30
f_ has joined #linux-amlogic
06:49
<
f_ >
I just discovered something.
06:49
<
f_ >
Meson HDMI support broke between 2022.10 and master.
06:50
<
f_ >
There's no HDMI output while booting up..
06:50
<
lvrp16 >
f_: I'm using 2023.04 and it works just fine.
06:51
<
lvrp16 >
Only on GXL though.
06:51
<
f_ >
That's on gxbb and while booting up.
06:52
<
f_ >
When control is passed to linux HDMI works.
06:52
<
f_ >
Let me try 2023.04
06:52
<
f_ >
Seems like it actually is my fault..
06:57
<
f_ >
Let me update my defconfig real quick...seems like CONFIG_VIDEO wasn't set...
07:01
<
f_ >
¯\_(ツ)_/¯ updated my defconfig and magically it works
07:13
<
f_ >
(that's running U-Boot on bare metal, as the primary bootloader)
07:30
ldevulder has joined #linux-amlogic
07:50
<
f_ >
One thing though..
07:52
<
f_ >
(be sure that you have the exact same RAM chips before doing anything)
07:52
<
f_ >
(that is, 4 Nanya NT5CB256M16DP-EK chips)
08:39
<
f_ >
<lvrp16> between u-boot 2023.01 and 2023.04, reset broke :(
08:40
<
f_ >
Well lvrp16 =)
08:40
<
f_ >
Seems like you have the same issue as I do.
09:01
<
f_ >
lvrp16: So....I've got the same issue as yours....`reset` hangs. You did say that you were going to investigate, did you get it to work again?
09:19
<
HackerKkillinghi >
reset ?
09:20
<
HackerKkillinghi >
Are you mean the reset command in uboot
09:23
<
HackerKkillinghi >
I have gxl
09:24
<
f_ >
It broke on gxbb on master.
09:25
<
f_ >
Just run `reset` and see it hang.
09:27
<
f_ >
lvrp16: I'm guessing you have gxl, right?
09:28
<
HackerKkillinghi >
Hey f{
09:28
<
HackerKkillinghi >
*f+
09:28
<
HackerKkillinghi >
*f_
09:28
<
HackerKkillinghi >
Is the uart work on kill pro
09:29
<
HackerKkillinghi >
Yes
09:29
<
f_ >
No idea. Never hooked up UART.
09:29
<
f_ >
I just use my VGA/DVI monitor with a DVI-HDMI cable =)
09:29
<
HackerKkillinghi >
So how u run reset
09:29
<
f_ >
And hook up a USB keyboard.
09:30
<
f_ >
HackerKkillinghi: That's easy:
09:30
<
f_ >
* skip autoboot
09:30
<
f_ >
* enter command prompt
09:30
<
f_ >
* type `reset` and press enter
09:31
<
HackerKkillinghi >
I know
09:31
<
HackerKkillinghi >
I thought the hdmi isnt working
09:31
<
f_ >
Well. It seems like it actually works.
09:31
<
f_ >
Just be sure to set CONFIG_VIDEO or CONFIG_DM_VIDEO (depending on which U-Boot revision you use)
09:32
<
HackerKkillinghi >
Ok so those be branch atin based 2022.10 or newer version of uboot
09:32
<
HackerKkillinghi >
*based on
09:32
<
f_ >
What does atin mean?
09:32
<
HackerKkillinghi >
isnt
09:33
<
f_ >
The wip/kii-pro branch (in which I included support for the KII Pro) is based on master.
09:33
<
HackerKkillinghi >
Ok
09:33
<
HackerKkillinghi >
> Meson HDMI support broke between 2022.10 and master.
09:33
<
HackerKkillinghi >
> There's no HDMI output while booting up..
09:34
<
f_ >
Seems like HDMI only works when U-Boot is ran as the primary bootloader (which in this case it is)
09:34
<
f_ >
HackerKkillinghi: See my messages after that.
09:34
<
HackerKkillinghi >
Ah i get it
09:34
<
f_ >
< f_> ¯\_(ツ)_/¯ updated my defconfig and magically it works
09:35
<
HackerKkillinghi >
Is your config based on other config?
09:35
<
f_ >
It's based on chewitt's wetek-play2 config.
09:35
<
HackerKkillinghi >
which config that u based on
09:36
<
f_ >
With a few modifications, mainly to change the board name and use the p201 board files.
09:38
<
HackerKkillinghi >
it is exactly what i done to port uboot as a primary bootloader on amlogic based device
09:38
<
HackerKkillinghi >
Btw
10:44
rockosov has quit [Ping timeout: 276 seconds]
10:45
rockosov has joined #linux-amlogic
12:03
ldevulder has quit [Quit: Leaving]
12:06
ldevulder has joined #linux-amlogic
12:27
buzzmarshall has joined #linux-amlogic
12:47
gabes has joined #linux-amlogic
13:03
elastic_dog has quit [Read error: Connection reset by peer]
13:05
elastic_dog has joined #linux-amlogic
13:14
naoki has quit [Ping timeout: 255 seconds]
13:30
camus has quit [Quit: camus]
14:06
<
f_ >
Is it possible to build the FIPs by using only libre tools?
14:06
<
HackerKkillinghi >
no
14:08
<
f_ >
HackerKkillinghi: You sure?
14:08
<
f_ >
Specifically, I'd like to replace fip_create
14:08
<
f_ >
It doesn't work in pmbootstrap
14:13
vagrantc has joined #linux-amlogic
14:29
<
HackerKkillinghi >
Ah
14:29
<
HackerKkillinghi >
u mean that
14:29
<
HackerKkillinghi >
there are but
14:29
<
HackerKkillinghi >
idk how to use it
14:30
<
HackerKkillinghi >
somewhere on github i need to find it
14:31
<
HackerKkillinghi >
Ah here is it
14:33
<
f_ >
..that's for g12a
14:33
<
HackerKkillinghi >
yes that is only the only thing
14:33
<
f_ >
And that replaces aml_encrypt
14:33
<
HackerKkillinghi >
that is foos
14:33
<
HackerKkillinghi >
yes
14:33
<
f_ >
HackerKkillinghi: ...
14:33
<
f_ >
Open-source tools exist to replace the binary-only Amlogic tools:
14:34
<
f_ >
Maybe gxlimg may work..
14:34
<
HackerKkillinghi >
Ah sry
14:37
<
f_ >
Maybe others could know.
14:38
<
HackerKkillinghi >
yeah
15:03
<
narmstrong >
for gxl, gxlimg definitely works, for g12 I did the port byt I had some feeback it doesn't work on the odroid-c4 and I havn't got time to look at it...
15:06
<
f_ >
narmstrong: What about gxbb?
15:07
<
narmstrong >
GXBB is totally different, only meson-tools implements it
15:07
<
f_ >
I'd preferably would like to replace all proprietary binaries.
15:07
<
f_ >
Is that possible?
15:07
<
HackerKkillinghi >
i know someone want to try
15:11
<
f_ >
HackerKkillinghi: What do you mean?
15:12
<
HackerKkillinghi >
i saw somene (on github project) said they wannt to replace all proprietary blob (fip)
15:13
<
HackerKkillinghi >
*on github project's read me
15:13
<
HackerKkillinghi >
but i dont think they started this yet
15:15
<
HackerKkillinghi >
i forgot the github project
15:16
<
f_ >
narmstrong: I guess that's not possible right now is it?
15:16
<
f_ >
meson-tools doesn't implement anything related to fip_create
15:16
<
narmstrong >
I'm not aware of a current rewite
15:17
<
narmstrong >
it seems you can use the TF-A version
15:17
<
f_ >
fip_create is derived from TF-A?
15:18
<
narmstrong >
it is the TF-A FIP structure, but with some custom UUIDs
15:18
<
narmstrong >
they used their own custom FIP structure starting from GXL
15:18
<
f_ >
So gxbb uses a standard FIP structure, and thus I can use TF-A?
15:19
<
narmstrong >
well, you'll need to reverse-engineer BL2 & BL301, but you can use the open source BL31
15:21
<
HackerKkillinghi >
hey f_
15:22
<
HackerKkillinghi >
keep in mind alpine packaged tf-a for some soc
15:24
<
f_ >
narmstrong: I'll assume that I have the right to reverse-engineer. (some licenses forbid that)
15:26
<
narmstrong >
I'm french, and it's allowed for compatibility reasons :-p
15:26
<
HackerKkillinghi >
:)
15:36
JohnnyonFlame has quit [Read error: Connection reset by peer]
15:38
JohnnyonFlame has joined #linux-amlogic
15:54
vagrantc has quit [Quit: leaving]
16:20
vagrantc has joined #linux-amlogic
16:24
<
f_ >
Also what's the difference between u-boot.bin.sd.bin and u-boot.bin?
16:27
* vagrantc
wild guesses one is an intermediary step to the other
16:27
<
f_ >
u-boot.bin is for the eMMC right?
16:55
<
HackerKkillinghi >
no
16:55
<
HackerKkillinghi >
use u-boot.bin.sd.bin
16:56
<
HackerKkillinghi >
f_ dont u take a look my x96 mini uboot apkbuild and the device package apk build
16:58
<
f_ >
It doesn't work.
17:10
<
HackerKkillinghi >
Ah
17:10
<
HackerKkillinghi >
;)
17:10
<
HackerKkillinghi >
*;(
17:10
<
f_ >
There's no header IIRC
17:29
<
HackerKkillinghi >
Ok
18:15
f_ has quit [Quit: Lost terminal]
18:17
jacobk has joined #linux-amlogic
20:08
ldevulder has quit [Quit: Leaving]
20:41
Terry137322934 has quit [Quit: Bye Bye]
20:41
Terry137322934 has joined #linux-amlogic
21:11
naoki has joined #linux-amlogic
23:56
jacobk has quit [Ping timeout: 252 seconds]