<HackerKkillinghi>
HackerKkillinghi: For fixing the uboot gcc12 ld bug
<f_>
HackerKkillinghi: Yeah I've seen them. In fact, those helped me make the diff I pushed to my repository.
<f_>
Thanks again!
<HackerKkillinghi>
f_: i use martix to irl
<f_>
Yeah.....I used to use the Matrix->IRC bridge but meh.......Doesn't work well and the messages are poorly reformatted, in my opinion.
<HackerKkillinghi>
(yes that is my martix id)
<f_>
So I either use IRC directly, or use XMPP.
<f_>
f_[xmpp] is my XMPP alt, and vitali64[m] is my Matrix alt.
<HackerKkillinghi>
Hi
<HackerKkillinghi>
i have wipe my x96 mini stock uboot from emmc
<HackerKkillinghi>
Which mean if i flash a uboot to a sdcard and plug then to the my x96 mini
<HackerKkillinghi>
It will boot from the uboot on the sdcard
<HackerKkillinghi>
I need to make device tree for it
<HackerKkillinghi>
Btw
<f_>
HackerKkillinghi: Speaking of wiping U-Boot. I'm told that it's impossible.
<f_>
But I didn't touch the eMMC....yet
<f_>
So I can't confirm for now.
<HackerKkillinghi>
f_: i try that
<HackerKkillinghi>
It work
<f_>
Yeah, but you're using a Beelink GT1/X96 Mini.
<f_>
If it works on a device, that doesn't mean it's going to work on another.
<HackerKkillinghi>
f_: My beelink
<HackerKkillinghi>
Didnt come with a os
<f_>
Which is why I reverted an edit you made that said U-Boot as a primary bootloader partially works.
<f_>
HackerKkillinghi: Not surprising :)
<HackerKkillinghi>
f_: why u removed
<HackerKkillinghi>
1. Flash the mainline uboot to emmc via android or flashmode
<HackerKkillinghi>
There are few way to replace the vendor u-boot :
<HackerKkillinghi>
2. Wipe the vendor u-boot and flash the mainline uboot to the sdcard
<HackerKkillinghi>
In the wiki
<f_>
Because those aren't tested at all.
<HackerKkillinghi>
f_: I know those step r work
<f_>
You're suggesting that U-Boot as a primary bootloader was supported.
<HackerKkillinghi>
f_: Yes
<f_>
HackerKkillinghi: They work on your TV boxes, but as I said, if it works on the X96 Mini or Beelink GT1, that doesn't mean it'll work on the KII Pro.
<f_>
No matter how similar they are.
<HackerKkillinghi>
f_: well
<f_>
The Beelink GT1 uses a completly different SoC too...
<f_>
For now I just linked to hexdump0815's repo (they helped me a lot!) and added a TODO.
<f_>
Because I do want to replace the vendor U-Boot with a fresh one.
<HackerKkillinghi>
HackerKkillinghi: if u can build a uboot for s905 that you can made patch for adding a device for kill pro
<f_>
HackerKkillinghi: Don't take it personally.
* f_
thinks they should add notes on the wiki about other Amlogic devices where it's possible to replace the vendor U-Boot.
<f_>
HackerKkillinghi: BTW
<f_>
Do you know how to enter flash mode, to then flash with the Amlogic USB burner (the name is so hilarious)?
<HackerKkillinghi>
Btw building a uboot for s805/s812 or older soc
<HackerKkillinghi>
is hard
<f_>
Is it?
<HackerKkillinghi>
Bc u cant find fip for those soc even u find a uboot that made for
jacobk has joined #linux-amlogic
<HackerKkillinghi>
s805/s812 or older soc
<HackerKkillinghi>
f_: u need fip to build a working uboot for amloicg soc
<f_>
I guess that's because the Amlogic U-Boot's .......... over 5 years old? :V
<f_>
They just forked U-Boot, made 41371832632187746817235386132 modifications, and called it a day, basically :V
<HackerKkillinghi>
HackerKkillinghi: Well there r a exception
<HackerKkillinghi>
ondroid sbc
<HackerKkillinghi>
however they made their cant fip dont work on another sbc
<HackerKkillinghi>
Oh wait
<HackerKkillinghi>
on s805/812 or older sbc there r no fip but there r bl1
<HackerKkillinghi>
(like fip it is non free and hard to get one(experct ordrid version of them ))
<f_>
Fourtunately, my TV box uses an Amlogic S905 SoC :)
<HackerKkillinghi>
f_: btw
<HackerKkillinghi>
one of mine use oldest
<HackerKkillinghi>
meson that listed on linux-meson.org
<HackerKkillinghi>
Wont boot on s8XXor older meson based sbc
<HackerKkillinghi>
the kernel dont have 32bit version
<f_>
Oh yeah..
<HackerKkillinghi>
f_: util one day
<HackerKkillinghi>
I started to port pm os to those old sbc
<HackerKkillinghi>
linux-postmarket-amlogic will have 32bit ver
<f_>
:)
<HackerKkillinghi>
f_: Btw
<HackerKkillinghi>
I wipe a stock uboot of one my s8XX tv box
<HackerKkillinghi>
*the stock uboot
<HackerKkillinghi>
i found a uboot that might work with it but i havent try
ebach has joined #linux-amlogic
JohnnyonFlame has quit [Ping timeout: 248 seconds]
vagrantc has joined #linux-amlogic
ebach has quit [Ping timeout: 252 seconds]
jacobk has quit [Ping timeout: 255 seconds]
elastic_1 has joined #linux-amlogic
elastic_dog has quit [Killed (tungsten.libera.chat (Nickname regained by services))]
f_ has quit [Quit: Lost terminal]
ebach has joined #linux-amlogic
hexdump0815 has joined #linux-amlogic
<hexdump0815>
f_: i hope you read this via the logs as well :)
<hexdump0815>
thanks for the gcc12 hint - i took a note to add it to my notes at some point
<hexdump0815>
regarding using mainline u-boot as main bootloader on tv boxes: it works as long as the hw is close to what is described in the dtb used for u-boot
<hexdump0815>
for an exotic box with a different hardware setup it might not work and you'll end up with a bricked box or at least a lot of work to bring it back to live
<hexdump0815>
due to this i would recommend to use chainloading mainline u-boot over using it natively as it is more safe
<hexdump0815>
when using mainline u-boot directly one might know what one is doing and have no problem with the risk of loosing the box completely if it goes wrong