narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - official channel moved from Freenode - publicly logged on https://libera.irclog.whitequark.org/linux-amlogic
vagrantc has quit [Quit: leaving]
camus1 has joined #linux-amlogic
camus has quit [Ping timeout: 248 seconds]
camus1 is now known as camus
f_[xmpp] has quit [Ping timeout: 252 seconds]
naoki has joined #linux-amlogic
naoki has quit [Quit: naoki]
jacobk has joined #linux-amlogic
camus1 has joined #linux-amlogic
camus has quit [Read error: Connection reset by peer]
camus1 is now known as camus
naoki has joined #linux-amlogic
JohnnyonFlame has quit [Ping timeout: 248 seconds]
ldevulder has joined #linux-amlogic
elastic_dog has quit [Ping timeout: 252 seconds]
elastic_1 has joined #linux-amlogic
camus has quit [Remote host closed the connection]
camus has joined #linux-amlogic
JohnnyonFlame has joined #linux-amlogic
JohnnyonFlame has quit [Ping timeout: 255 seconds]
JohnnyonFlame has joined #linux-amlogic
cottsay08 has joined #linux-amlogic
cottsay has quit [Quit: TTFN]
cottsay08 is now known as cottsay
elastic_dog has quit [Ping timeout: 252 seconds]
elastic_1 has joined #linux-amlogic
naoki has quit [Quit: naoki]
f_ has joined #linux-amlogic
<f_> o/ all!
ungeskriptet has joined #linux-amlogic
<f_> hexdump0815: I hope you read this in the chat logs. U-Boot v2020.10 and older versions now require a GCC12-related patch to build correctly. See https://gitlab.com/Vitali64/pmaports/-/blob/device/videostrong-kii-pro/device/.shared-patches/u-boot/gcc-12-u-boot-2020-fix-read-only-segment-has-dynamic-relocations-error.patch
<f_> Else `ld` fails.
<f_> I just thought it would be a good idea to tell you about that so that you can update your U-Boot chainloading notes :)
<f_> This doesn't affect newer U-Boot versions.
<HackerKkillinghi> Hey
<HackerKkillinghi> f
<f_> Also...... Some updates on running postmarketOS on the Videostrong KII Pro: https://gitlab.com/postmarketOS/pmaports/-/merge_requests/3924
<f_> It's about to get merged!
<f_> o/ HackerKkillinghi
<HackerKkillinghi> f_: Yes as well as my mr
<HackerKkillinghi> after they has my mkinit thingly
<HackerKkillinghi> *after they has the mkinit thingly
<HackerKkillinghi> Btw
<f_> HackerKkillinghi: But......That's my MR..
<f_> Oh wait.
<f_> Pasted the wrong link....
<f_> Heh......
<HackerKkillinghi> XD
<f_> HackerKkillinghi: Wait.........Are you exkc?
<HackerKkillinghi> *btw https://gitlab.com/postmarketOS/pmaports/-/issues/1994 i find two find patch in uboot mail list
<HackerKkillinghi> *found
<f_> >liberachat] -!- ircname : @root:exkc.moe
jacobk has quit [Ping timeout: 248 seconds]
<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
<f_> That's old!
<HackerKkillinghi> *the oldest
<HackerKkillinghi> meson soc
<HackerKkillinghi> f_: and cheap
<HackerKkillinghi> it has **mainline ** support
<f_> HackerKkillinghi: Meson6?
<f_> Or Meson8
<HackerKkillinghi> Also
<HackerKkillinghi> Linux-postmarketos-amlogic
<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
jacobk has joined #linux-amlogic
jacobk has quit [Ping timeout: 276 seconds]
jacobk has joined #linux-amlogic
jacobk has quit [Ping timeout: 260 seconds]
ebach has quit [Ping timeout: 248 seconds]
<HackerKkillinghi> Yeah
<HackerKkillinghi> Saying of uboot
<HackerKkillinghi> this linux patch is needed in some older version of uboot
<HackerKkillinghi> (like 2019.07)
<HackerKkillinghi> *this linux patch is needed for building some older version of uboot
<HackerKkillinghi> (like 2019.07)
naoki has joined #linux-amlogic
<HackerKkillinghi> HackerKkillinghi: *speaking of uboot
ldevulder has quit [Quit: Leaving]