<Lyude>
Does anyone have a running android install on their vim2 who would be willing to 1: check if emmc works and if it does 2: get me a copy of the uncompiled dts tree that android is using?
<Lyude>
i'm getting more and more curious why this doesn't seem to work on the mainline kernel
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
<chewitt>
Lyude: did you install anything to the emmc? If not (if it's still in factory-ish state) there is Android installed on the emmc
<chewitt>
it works, but it's Android :)
<Lyude>
chewitt: I flashed over it by dd'ing uboot directly
<chewitt>
did adding `eee-broken-1000t;` make a difference to ethernet performance?
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Darkmatter66 has quit [Quit: ZNC 1.7.1 - https://znc.in]
Darkmatter66 has joined #linux-amlogic
Xogium has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
tlwoerner has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
tlwoerner has quit [Ping timeout: 252 seconds]
_whitelogger has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 252 seconds]
tlwoerner has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
<narmstrong>
Lyude: what’s the exact issue with eMMC ?
<narmstrong>
We should push the eee fix for the vim2 upstream...
Xogium has quit [Quit: Leaving.]
<narmstrong>
Lyude: for the fan to work, you will all the hwmon and gpio-fan driver
<narmstrong>
You can try to change manually the fan speed in sysfs !
<narmstrong>
The 0, 1, 2, 3 are dummy values since it’s a 2-gpio control
<Lyude>
I can't seem to get fedora to read from it
<narmstrong>
@Lyude: just remove the mmc-hs400-1_8v; in the mmc node
<Lyude>
oh sweet; lemme try that
<narmstrong>
Hs400 needs much more work to get it correctly
<narmstrong>
I will disable it aswell...
<Lyude>
btw narmstrong; don't know the exact cause yet but I think the hanging issues I was seeing before are because of one of the meson parts being built as a module
<Lyude>
need to actually figure out which config option it is specifically
<narmstrong>
It’s probable, look at those we force as built-in the arm64 defconfig
<narmstrong>
The other ones should be safe to keep as modules
<yangxuan>
narmstrong, do you think the alpine amlogic kernel package should named as linux-aml or linux-amlogic?
<narmstrong>
yangxuan: Linux-amlogic for sure, but you may want to differenciate the arm64 and arm32 kernels
<yangxuan>
narmstrong: you mean support both arm64 and armhf? but I don't know where can found armhf kernel config
<Lyude>
narmstrong: that fixed my emmc, finally! thank you~
<narmstrong>
yangxuan: simply use a name using arm64 in it so someone could add the armhf later on
<narmstrong>
Lyude: enjoy !!! Did you manage running something on the vim2 ? I mean panfrost
<yangxuan>
alpine's package manager is pretty close to archlinux, and it can include multi arch support in one package, and use case to choose kernel config for different architectures
<Lyude>
narmstrong: my plan is to get things running today!
<Lyude>
i'm hoping for this board to be my main board for making the kernel driver
<Lyude>
narmstrong: btw; would you have any idea how one would figure out where the uboot env would be? I would have thought it'd be on /dev/mmcblk1boot0 or /dev/mmcblkboot1 @ 0x0, but fw_printenv isn't finding it
<Lyude>
*/dev/mmcblk1boot1
<yangxuan>
narmstrong: do you think we should better use 150balbes's kernel repo as alpine kernel package source or like your superna9999/meta-meson use mainline kernel with patches
<narmstrong>
But you could still save the env to a à fat partition and load manually in a boot.scr, or rebuilt it to have the env somewhere
<narmstrong>
yangxuan: please use patches on top of mainline Linux, it’s easier to find out which patch to follow or drop and update the upstream kernel
Darkmatter66_ has quit [Ping timeout: 252 seconds]
tlwoerner has quit [Ping timeout: 272 seconds]
default__ has quit [Quit: Leaving]
<Lyude>
narmstrong: ooh; ok
<Lyude>
i guess my last question for now would be: is it safe for me to just overwrite the whole mmc then? excluding boot0/boot1?
<yangxuan>
narmstrong: I see. will use patches
Darkmatter66 has quit [Ping timeout: 252 seconds]
<yangxuan>
narmstrong: how many devices supported by your defconfig? does it works for odroid c2 or khadas vim?
<narmstrong>
Yep
<yangxuan>
narmstrong: how many amlogic device do you have, tomorrow I can build a base alpine image (not standard)after compile the kernel package, would you test them?
<narmstrong>
Lyude: hmm, where did you flash the u-boot binary ? I’m not aware of anything using boot0/boot1
<yangxuan>
would you mind test them
<Lyude>
narmstrong: dd if=uboot.img of=/dev/block/bootloader # <-- I ran that from the android image that comes pre-installed on the mmc
<Lyude>
so I'm not actually sure where that would have put it :(
<Lyude>
somewhere on the emmc at least
<narmstrong>
It should be at the 0x200 offset of the primary eMMC partition
<Lyude>
alright; i'll have to look into how to partition around 0x200 then
<Lyude>
(still new to bits and pieces of this! all my re so far has just been on android)
<Lyude>
and most of my kernel dev work is just x86_64 systems
<yangxuan>
narmstrong: can we run weston with drm backend with mainline kernel?
<narmstrong>
yangxuan: yes
<narmstrong>
yangxuan: if you want hw accelerated you will need to struggle installing libmali and the Mali driver... otherwise it works very well with software gles
<narmstrong>
Lyude: you can use also flash u-boot on an sdcard and completely wipe out the eMMC and format it in GPT
<narmstrong>
Beware, if you format in GPT you won’t be able to flash u-boot on eMMC again
<Lyude>
hmmm, I'll consider it! ideally I'd rather just have most of the installation on the emmc
<Lyude>
ooooh yeah I wanna avoid that D:
<narmstrong>
Simple y reformat in msdos format and leave a big 4mib space before the first partition and it will be ok
Darkmatter66 has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 272 seconds]
Darkmatter66 has joined #linux-amlogic
<yangxuan>
narmstrong: seems alpine use extlinux.conf, I tried the u-boot from 150balbes and mainline, but seems the extlinux.conf not work, still need aml_autoscript, s905_autoscript and uEnv.ini, can we just boot with u-boot and extlinux.conf?
yangxuan has quit [Quit: Page closed]
AntonioND has joined #linux-amlogic
<narmstrong>
Extlinux will only work with u-boot mainline, not amlogic u-boot
<narmstrong>
To make an universal boot you need both
afaerber has quit [Ping timeout: 240 seconds]
AntonioND has quit [Quit: Quit]
afaerber has joined #linux-amlogic
marcodiego has joined #linux-amlogic
tlwoerner has joined #linux-amlogic
<marcodiego>
is there any sbc using a amlogic SoC that may work without any proprietary firmware (except for graphics)?