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]
Daanct12 has joined #linux-amlogic
naoki has quit [Quit: naoki]
jacobk has quit [Ping timeout: 252 seconds]
Daanct12 has quit [Quit: WeeChat 3.8]
buzzmarshall has quit [Quit: Konversation terminated!]
jacobk has joined #linux-amlogic
Daanct12 has joined #linux-amlogic
naoki has joined #linux-amlogic
jacobk has quit [Ping timeout: 250 seconds]
rockosov has quit [Ping timeout: 248 seconds]
naoki has quit [Quit: naoki]
rockosov has joined #linux-amlogic
camus has quit [Ping timeout: 252 seconds]
camus has joined #linux-amlogic
naoki has joined #linux-amlogic
<HackerKkillinghi> u can just fill it with zeros
<HackerKkillinghi> pls dont forget about /dev/mmcblk1boot0/1
<HackerKkillinghi> u have to fill them with zero too
Daanct12 has quit [Quit: WeeChat 3.8]
f_ has joined #linux-amlogic
<f_> Hi all.
<f_> HackerKkillinghi: ..sure
<f_> dd'ing!!
<HackerKkillinghi> yeahhhhh
<f_> Does it take a long time though.
<f_> I'm dd'ing mmcblk1 first, and then I'll see what I can do for mmcblk1bootX.
<f_> Nice. We're already at 1 GB!!
<HackerKkillinghi> Ah
<f_> HackerKkillinghi: Of course, I took a whole backup of the eMMC, and of couse, I have an image that works.
<HackerKkillinghi> u dont need to fully dd the driver
<f_> (ran `dd if=/dev/mmcblk1 of=emmc_1.img`)
<HackerKkillinghi> *emmc
<f_> HackerKkillinghi: I do.
<HackerKkillinghi> anyway
<f_> If it's not fully empty it won't boot to the SD card.
<HackerKkillinghi> no
<f_> Yes
<HackerKkillinghi> anyway
<HackerKkillinghi> doing thta just will waste your time
<f_> # amlgic socs usually boot first from emmc if it has a valid boot block and only if the emmc
<f_> # is empty it will boot from sd card ... there is a way to force it to boot from sd card first:
<f_> <...>
<HackerKkillinghi> ok
<HackerKkillinghi> you do yours
<f_> If something goes wrong I should still be able to recover.
<HackerKkillinghi> u tried to recovery right
<f_> By using Amlogic USB burner....I got it in a state where it's mostly working fine.
<HackerKkillinghi> yeah u did
<f_> HackerKkillinghi: Of course!
<f_> I flashed an image before.
<f_> Boots up fine
<f_> And if something goes wrong I can still reflash that same image.
<HackerKkillinghi> yes
<f_> It's not stock though.
<f_> But that'll do.
<HackerKkillinghi> what is that rom
<f_> Stock converted to Android TV.
<f_> You can find it in XDA-Developers.
<HackerKkillinghi> i c
<f_> (link is dead but someone reposted it...look for their comment)
<HackerKkillinghi> what is you are using
<f_> Didn't understand what you meant..sorry
<HackerKkillinghi> u are a rom that modded from mibox3 ' stock rom
<HackerKkillinghi> *are using
<f_> No.
<f_> Keep in mind I'm using a gxbb-kii-pro
<f_> So..I'm using a ROM that's basically just the stock KII Pro ROM converted to Android TV.
<f_> Boots up fine..so....
<HackerKkillinghi> :0
<f_> ?
<HackerKkillinghi> it boots :)
<f_> Ok. I'm done.
<f_> Running `xxd` on bootX.
<f_> Ok there's still stuff left..
<f_> Let's erase those too.
<f_> Huh?
<f_> videostrong-kii-pro:~$ doas dd if=/dev/zero of=/dev/mmcblk1boot1 status=progress
<f_> dd: writing to '/dev/mmcblk1boot1': Operation not permitted
<f_> ???
<f_> HackerKkillinghi: Did that work for you on your devices?
<HackerKkillinghi> yes
<HackerKkillinghi> i know how to fix it
<f_> chmod?
<HackerKkillinghi> no
<f_> How then?
<HackerKkillinghi> see
<f_> echo 0 > /sys/block/mmcblk1boot0/force_ro
<f_> echo 0 > /sys/block/mmcblk1boot1/force_ro
<f_> Fair enough.
<f_> Ok it works.
<f_> Let's power it off.
<f_> The eMMC officially contains nothing.
<f_> But zeros.
<f_> Powering off.
naoki has quit [Quit: naoki]
<f_> I'm now flashing LibreELEC for the WeTek Play 2.
<f_> (on an SD card)
<HackerKkillinghi> memiton of true
<f_> ?
<HackerKkillinghi> will it boot?
<f_> *moment of truth?
<HackerKkillinghi> yeah
<f_> That is the question!
<HackerKkillinghi> or a bs
<f_> The "question pour un champion"!
<HackerKkillinghi> XD
<f_> I can talk in french, yes.
JohnnyonFlame has joined #linux-amlogic
<HackerKkillinghi> I can talk in cantonese, yes.
<f_> Wow
<f_> It actually.....boots
<HackerKkillinghi> nice
JohnnyonF has quit [Ping timeout: 276 seconds]
gabes has quit [Quit: The Lounge - https://thelounge.chat]
<f_> So
gabes has joined #linux-amlogic
<f_> Seems like the WeTek Play 2 FIPs work after all..
<HackerKkillinghi> Yeah
<HackerKkillinghi> Hey f_
<f_> ?
<HackerKkillinghi> can u take alookthe apkbuild of x96mini's uboot
<f_> Oh yes. amediatech-x96-mini also uses a mainline U-Boot.
<HackerKkillinghi> the uboot is builded with x96 mini device tree
<f_> p201 should work.
<HackerKkillinghi> And jehub's fip
<HackerKkillinghi> so u can use as a refernce for making apkbuild of the uboot for kill pro
<f_> *kii pro
<HackerKkillinghi> Yeah
<f_> LibreELEC:~ # emmctool i
<f_> info: boot device is /dev/mmcblk0, U-boot version is 2022.10
<f_> <...>
<f_> Nice.
<f_> \o/
<HackerKkillinghi> have u tried uart on it
<f_> No
<HackerKkillinghi> ok
<HackerKkillinghi> if u did
<HackerKkillinghi> you can get the the verion of the uboot by using uart
<f_> No need.
<HackerKkillinghi> yes
<HackerKkillinghi> u can use other way to see the version
<HackerKkillinghi> *check
<f_> No need.
<f_> I don't need to check the version.
<HackerKkillinghi> anyway
<f_> But it does seem like HDMI on meson boards is broken.
<HackerKkillinghi> hdmi work on raxad zero'uboot
<HackerKkillinghi> *'s uboot
<f_> *radxa?
<HackerKkillinghi> yes
<f_> Wow
<f_> With my experimental U-Boot patches I got HDMI to work.
<f_> =)
<HackerKkillinghi> can u show me the pacth
<f_> Will push them to git.vitali64.duckdns.org
<f_> But meh, no boot
<f_> But WeTek Play 2 FIPs work!
<f_> chewitt: That's amazing isn't it?
<f_> (they'll see this when they check logs)
<HackerKkillinghi> >That's amazing isn't it?
<HackerKkillinghi> no jethub 's fip work on x96 mini too
<f_> ...
<f_> And the fact the the JetHub FIPs work on the X96 Mini is amazing too.
<f_> These are commercially available boards we do not have FIPs of, so it's nice to see they work with FIPs taken from other boards.
<HackerKkillinghi> yeah
jacobk has joined #linux-amlogic
<HackerKkillinghi> hey f_
<f_> ??
<HackerKkillinghi> if want to upsterm it
<HackerKkillinghi> *u
<HackerKkillinghi> pls make doc for it
<f_> I won't upstream it now.
<HackerKkillinghi> if u
<f_> This is pretty much WIP
<HackerKkillinghi> yeah
<HackerKkillinghi> but it is upstreamable after u made the doc n tested
<HackerKkillinghi> it
<f_> I know.
<HackerKkillinghi> so will u upstearm it
<f_> < f_> I won't upstream it now.
<f_> < f_> This is pretty much WIP
<f_> As said earlier =)
<HackerKkillinghi> yes what about the furture
<f_> We'll see.
anessen978 has joined #linux-amlogic
anessen97 has quit [Ping timeout: 252 seconds]
anessen978 is now known as anessen97
jacobk has quit [Ping timeout: 252 seconds]
<f_> HackerKkillinghi: postmarketOS boots up!!
<HackerKkillinghi> yes
<HackerKkillinghi> *yeahhhhh
<HackerKkillinghi> :)
<f_> =D
<HackerKkillinghi> /confetti :)
<f_> Nah we don't have confettis on IRC.
<f_> But still, nice!!!
<HackerKkillinghi> i know
jacobk has joined #linux-amlogic
<f_> ¯\_(ツ)_/¯
<HackerKkillinghi> ( ͡° ͜ʖ ͡°)
<f_> Let's try running postmarketOS from the eMMC now.
<HackerKkillinghi> how big is your card
<HackerKkillinghi> resize the root partiton before u dding the sdcard to emmc if your sdcard is bigger then the emmc
<f_> HackerKkillinghi: ~15 GB
<HackerKkillinghi> Ok
<HackerKkillinghi> It is abput the same size as the emmc
<HackerKkillinghi> No need to resize i think
<f_> no
<HackerKkillinghi> Ok
<f_> The eMMC is ~15 GB, while the SD is just under 64 GB.
<f_> But I won't dd anything.
<f_> No. I will try to get the ondev installer to work.
<HackerKkillinghi> ok
<f_> HackerKkillinghi: Did you ever try to get pmOS to work on eMMC?
<HackerKkillinghi> that is another way to install to the emmc
<HackerKkillinghi> Yes
<f_> How did it turn out?
<HackerKkillinghi> not good bc i did something bad during the i maing the x96 port
<f_> Was it on the X96 Mini?
<HackerKkillinghi> ye
<f_> Is it still alive?
<HackerKkillinghi> Yes
jacobk has quit [Ping timeout: 250 seconds]
<f_> Did you succeed at installing pmOS to the eMMC?
<HackerKkillinghi> i was too rush foe making the port so i break the emmc (yes i could reflash the stock firmware and wipe the emmc aging )
<HackerKkillinghi> yes on beelink gt1
<f_> Nice.
<f_> Same eMMC setup I guess?
<f_> mmcblk1, and then mmcblk1boot{0,1}, and that's about it?
<f_> Or did it have other partitions?
<HackerKkillinghi> make sure u put the sdcard embem thingly if u using ondev install
<f_> What's "sdcard embem thingly"?
<HackerKkillinghi> u can flash uboot to boot0/boot1 if u want to
<f_> If I want to?
<f_> So I don't have to?
<HackerKkillinghi> yes
<HackerKkillinghi> yes
<HackerKkillinghi> Ah
<f_> I can just leave boot0/boot1 empty?
<HackerKkillinghi> yes
<f_> ok
<f_> But what is "the sdcard embem thingly"?
<HackerKkillinghi> the usb flash tool seem to didnt touch the boot1 boot0 when i flash the stovk firmware to my x96 (when the time i bought it , the uboot is on boot0/1)
<f_> Ok
<f_> HackerKkillinghi: But what is "the sdcard embem thingly"?
<f_> I didn't understand what you meant by that?
<HackerKkillinghi> i mean sd_embed_firmware
<f_> What's that?
<f_> Ahh deviceinfo
<HackerKkillinghi> u get it now
<HackerKkillinghi> ?
<f_> Yup. Thanks!
<HackerKkillinghi> See beelink gt1 n x96mini devinfo for leran more about this
<f_> I know what it is.
<HackerKkillinghi> btw pmos on belink gt1 work great (expect for hardware ram issue)
<HackerKkillinghi> *on emmc
<f_> =)
<HackerKkillinghi> Also pls put dev_internal_storage in your device info
<f_> I'm aware of what to do HackerKkillinghi
<HackerKkillinghi> Ah
<HackerKkillinghi> Ok
jacobk has joined #linux-amlogic
f_ has quit [Quit: Lost terminal]
vagrantc has joined #linux-amlogic
jacobk has quit [Ping timeout: 276 seconds]
jacobk has joined #linux-amlogic
jacobk has quit [Ping timeout: 248 seconds]
jernej has joined #linux-amlogic
jacobk has joined #linux-amlogic
jernej has quit [Quit: Konversation terminated!]
dliviu has quit [Quit: Going away]
dliviu has joined #linux-amlogic
dliviu has quit [Quit: Going away]
dliviu has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
jacobk has quit [Ping timeout: 250 seconds]
vagrantc has joined #linux-amlogic
naoki has joined #linux-amlogic
JohnnyonFlame has quit [Read error: Connection reset by peer]
JohnnyonFlame has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
dliviu has quit [Quit: Going away]
dliviu has joined #linux-amlogic