rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
jo0nas has quit [Ping timeout: 268 seconds]
tllim has joined #linux-sunxi
jo0nas has joined #linux-sunxi
tllim has quit [Ping timeout: 250 seconds]
tllim has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
kaspter has joined #linux-sunxi
xqdzn has quit [Ping timeout: 260 seconds]
NeuroScr has quit [Quit: NeuroScr]
nexgen has joined #linux-sunxi
jo0nas has quit [Read error: Connection reset by peer]
jo0nas has joined #linux-sunxi
<smaeul> I'm trying to get pine h64 ethernet working in u-boot. after enabling CONFIG_SUN8I_EMAC in u-boot and ALDO2 at 3.3v in ATF, I'm getting no PHY found
<smaeul> I added a call to sun8i_emac_set_syscon_ephy() for the A64 variant (the H6 fallback compatible), but still all MDIO reads return 0
<smaeul> so I've got the PHY powered (I get both link/activity LEDs on the port), I've tried toggling the PHY reset pin (PD6), I've got the right address (1, per the board schematic), I've got RGMII and the external PHY selected (I see "phy interface7" logged)
<smaeul> anything else I should look at?
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 276 seconds]
dddddd has quit [Remote host closed the connection]
vagrantc has quit [Quit: leaving]
<megi> smaeul: DVDD/AVDD should be enabled at the same time
<megi> otherwise you get weird issues like this
florian has joined #linux-sunxi
<montjoie> smaeul: you could test TFTP
cnxsoft has quit [Read error: Connection reset by peer]
<montjoie> smaeul: I am really interested in testing it, all H6 boards in kernelCI need an USB dongle for the moment...
florian has quit [Ping timeout: 240 seconds]
cnxsoft has joined #linux-sunxi
NeuroScr has joined #linux-sunxi
selfbg has joined #linux-sunxi
megi has quit [Ping timeout: 240 seconds]
florian has joined #linux-sunxi
florian has quit [Ping timeout: 240 seconds]
NeuroScr has quit [Quit: NeuroScr]
NeuroScr has joined #linux-sunxi
jstefanop has joined #linux-sunxi
tllim has quit [Read error: Connection reset by peer]
jstefanop has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
reinforce has joined #linux-sunxi
jstefanop has quit [Ping timeout: 264 seconds]
airwind has joined #linux-sunxi
gnarface has quit [Quit: Leaving]
NeuroScr has quit [Quit: NeuroScr]
<MoeIcenowy> smaeul: add a delay after enabling the PHY
gnarface has joined #linux-sunxi
<MoeIcenowy> for my Pine H64 model B, I added "regulator-enable-ramp-delay = <100000>;" to aldo2
<MoeIcenowy> this works well
matthias_bgg has joined #linux-sunxi
<montjoie> I have lot of PHY timeout on bananapi M64, do you think this kind of hack could help ?
gsz has joined #linux-sunxi
ldevulder has joined #linux-sunxi
florian has joined #linux-sunxi
yann has quit [Ping timeout: 268 seconds]
jstefanop has joined #linux-sunxi
jstefanop has quit [Ping timeout: 240 seconds]
tnovotny has joined #linux-sunxi
aalm has quit [Ping timeout: 252 seconds]
aalm has joined #linux-sunxi
msevo has joined #linux-sunxi
msevo has quit [Quit: Leaving]
yann has joined #linux-sunxi
<MoeIcenowy> montjoie: maybe
return0e has joined #linux-sunxi
deesix has quit [Ping timeout: 268 seconds]
deesix has joined #linux-sunxi
<montjoie> I try to do FEL with a cubie4 and mainline uboot, but "efex" does not work
<montjoie> do I need to do something ?
<montjoie> with the stock uboot it works
gaston1980 has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
jbrown has quit [Quit: Leaving]
jbrown has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
lurchi_ is now known as lurchi__
<warpme_> hi guys!
AneoX has joined #linux-sunxi
nexgen has quit [Quit: Leaving]
Gerwin_J has joined #linux-sunxi
<warpme_> i'm just playing with 5.4-rc2 on H6 (beelink gs1). After moving from 5.3.2 to 5.4-rc2 I got almost the same peripherals working except dvfs. isn't 5.4 switched to nvmem to read opp data? i don't see devfreq online and also see in dmesg:
<warpme_> might be this mmc issue root cause that sun50i-cpufreq-nvmem isn't loaded?
Gerwin_J has quit [Client Quit]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
<avph> montjoie: That's a only a feature in the allwinner uboot. With mainline uboot you can just jump to FEL address: https://linux-sunxi.org/FEL#Through_serial_console
AneoX has quit [Ping timeout: 265 seconds]
<Mangy_Dog> hi i cant remember who told me... But there was a way of removing uboot from a flashed SD card.... I want to install onto the EMMC and hten remove Uboot from sd card so my pi boots from emmc, but can then use the sd card to store some files
<Mangy_Dog> i think it was some kind of command to 0 the first few bits of the sd card or something
AneoX has joined #linux-sunxi
<mru> "dd if=/dev/zero of=/dev/mmcblk0 bs=1k count=1 seek=8" should do it
<Mangy_Dog> that sounds like the command
<Mangy_Dog> thanks
<Mangy_Dog> then what would be the command to deleat the partition and then repartition using the full space of the card?
<KotCzarny> cfdisk -z
<KotCzarny> or aprted equiv
<KotCzarny> *parted
<Mangy_Dog> is cfdisk asccii gui?
<Mangy_Dog> or pure comand line?
<Mangy_Dog> ascii
<KotCzarny> fdisk ir cmd line
<KotCzarny> *is
<KotCzarny> darn. new keyboard.
<Mangy_Dog> k
<Mangy_Dog> heh
<mru> sfdisk has the weirdest syntax
<KotCzarny> i use sfdisk only for hacking
<mru> but also the least unnecessary features
<KotCzarny> easiest to perform weird tricks
<Mangy_Dog> though now i have desktop is there a dui i can do it in?
<KotCzarny> like modifying sda2 into sda3 without touching anything etc
<Mangy_Dog> so idiots like me dont accidently erase the emmc :D
<KotCzarny> idiots should start by reading manuals
<KotCzarny> not taking commands from strangers on the internet
<Mangy_Dog> but i trust you strangers
<mru> trust but verify
Gerwin_J has joined #linux-sunxi
nexgen has joined #linux-sunxi
nexgen has quit [Remote host closed the connection]
nexgen has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Gerwin_J has joined #linux-sunxi
<smaeul> megi: according to pine h64 (B) schematics, AVDD/DVDD are provided by the PHY internal regulator, so there's nothing more to enable
<smaeul> montjoie: that's what I've been trying to do :)
<smaeul> MoeIcenowy: I added udelay(100000); after enabling ALDO2 in ATF, and it makes no difference
<smaeul> 01:38 <MoeIcenowy> this works well
<smaeul> are you using ethernet in u-boot?
kaspter has quit [Quit: kaspter]
megi has joined #linux-sunxi
<Mangy_Dog> whats the final manager called in armbian desktop?
<Mangy_Dog> need to run it as root to copy some files
<KotCzarny> final manager?
<Mangy_Dog> the thing you can go through directories and what not with
<Mangy_Dog> the program that runs when you double click the file system icon
<Mangy_Dog> final..... file manager
<KotCzarny> nautilius?
<Mangy_Dog> sorry
<Mangy_Dog> yeah its not nautilus
<Mangy_Dog> tried that already
<KotCzarny> it depends what DE you are running
<KotCzarny> (desktop environment)
<aalm> no about box anywhere?
<Mangy_Dog> its just the file system file manager
<aalm> then we need to know the DE to guess further
<smaeul> 06:53:27 smaeul | megi: according to pine h64 (B) schematics, AVDD/DVDD are provided by the PHY internal regulator, so there's nothing more to enable
<mru> xterm :)
<KotCzarny> florence?
<KotCzarny> :)
<smaeul> Mangy_Dog: thunar
<Mangy_Dog> aghh great ok so when ssh cant make it open remotely onto my desktop
hramrach has joined #linux-sunxi
<KotCzarny> i think you should learn some linux basics
<Mangy_Dog> its ok forgot i have an on screen keyboard
Paddlestroke has joined #linux-sunxi
<Paddlestroke> Is NAND working on mainline on A20?
<KotCzarny> nope
<Paddlestroke> What about emmc?
<KotCzarny> emmc works fine
<KotCzarny> for additional 'is working..' questions
<Paddlestroke> Is there any comparaison between SD/eMMC/NAND boot speed and reliability?
<Paddlestroke> Thanks :)
<KotCzarny> nand is usually weakest
<KotCzarny> because no internal wear levelling
<KotCzarny> emmc is similar to sd
<Paddlestroke> Oh I thought NAND & eMMC main advantages were to boot faster and be more reliable than SD memory
<KotCzarny> nah, when it comes to speed they are comparable
<KotCzarny> emmc is much faster though
<KotCzarny> 50-80MB/s is possible
<KotCzarny> or more
kaspter has joined #linux-sunxi
jailbox has quit [Remote host closed the connection]
<mru> emmc usually has 8-bit interface, sd cards have 4-bit
<AneoX> a20 only 4bit
<montjoie> avph: I have errors when doing that (the go xxxx)
<montjoie> like undefine dinstructions
dddddd has joined #linux-sunxi
airwind has quit [Quit: airwind]
kaspter has quit [Quit: kaspter]
<megi> smaeul: I see two power sources https://megous.com/dl/tmp/cbed7cf9b7a27395.png
<megi> and if you look here, then one is connected to CLDO1/ALDO3 and the other to ALDO2 https://megous.com/dl/tmp/b13f915118a7b8af.png
<megi> For example on Opi3, it's the same, except that you can toggle both without disturbing half of the system
nexgen has quit [Remote host closed the connection]
<megi> and whether it breaks also depends on whether you're just resetting the system, or duing a full power cycle
<megi> doing
<megi> and it doesn't break realiably on all boards, some boards work even with wrong power sequencing
<megi> go figure :D
<MoeIcenowy> smaeul: I have no Ethernet in U-Boot, and I use Linux
nexgen has joined #linux-sunxi
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #linux-sunxi
<MoeIcenowy> smaeul: Ethernet does not work if ALDO2 is enabled in ATF, even under Linux?
gsz has quit [Ping timeout: 240 seconds]
selfbg has quit [Remote host closed the connection]
<montjoie> when doing FEL from latest sunxi-tools on a Cubie4 I get 'libusb_claim_interface() ERROR -5: Entity not found'
<montjoie> any idea ?
EmilKarlson has quit [Read error: Connection reset by peer]
thefloweringash has quit [Write error: Connection reset by peer]
Danct12 has quit [Write error: Connection reset by peer]
psydroid has quit [Read error: Connection reset by peer]
Jeremy_Rand_Talo has quit [Read error: Connection reset by peer]
JuniorJPDJ has quit [Read error: Connection reset by peer]
agates[m] has quit [Write error: Connection reset by peer]
atopuzov[m] has quit [Write error: Connection reset by peer]
t4h4[m] has quit [Read error: Connection reset by peer]
k40s[m] has quit [Remote host closed the connection]
fevv8[m] has quit [Read error: Connection reset by peer]
freddor has quit [Read error: Connection reset by peer]
z3ntu has quit [Write error: Connection reset by peer]
MartijnBraam has quit [Read error: Connection reset by peer]
mic-e[m] has quit [Read error: Connection reset by peer]
davidebeatrici has quit [Read error: Connection reset by peer]
hpagseddy[m] has quit [Read error: Connection reset by peer]
solderfumes has quit [Read error: Connection reset by peer]
romainmahoux[m] has quit [Read error: Connection reset by peer]
insep[m] has quit [Write error: Connection reset by peer]
clementp[m] has quit [Remote host closed the connection]
Paddlestroke has quit [Remote host closed the connection]
jailbox has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
reinforce has quit [Quit: Leaving.]
cnxsoft has quit [Quit: cnxsoft]
jstefanop has joined #linux-sunxi
tllim has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
<wens> cubie4 doesn't have USB ports enabled
<wens> issue with the DT not being able to accurately represent the VBUS connections
<warpme_> ok - got working DVFS in h6 with mainline 5.4-rc2. To get working sun50i-cpufreq-nvmem DTSI needs to be updated. Still don't know why sun50i-cpufreq-nvmem kernel not loads automatically?
tllim has quit [Read error: Connection reset by peer]
florian has quit [Quit: Leaving]
tllim has joined #linux-sunxi
yann has quit [Ping timeout: 240 seconds]
tllim has quit [Read error: Connection reset by peer]
marvs has quit [Ping timeout: 252 seconds]
reinforce has joined #linux-sunxi
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
Putti has joined #linux-sunxi
Putti has quit [Changing host]
Putti has joined #linux-sunxi
tnovotny has quit [Quit: Leaving]
JuniorJPDJ has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 240 seconds]
RichardG867_ has joined #linux-sunxi
RichardG867_ has quit [Changing host]
RichardG867_ has joined #linux-sunxi
RichardG867 has quit [Ping timeout: 246 seconds]
<montjoie> wens: so no FEL on cubie4 ?
Gerwin_J has quit [Quit: Gerwin_J]
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 268 seconds]
lkcl has quit [Ping timeout: 276 seconds]
libv_ is now known as libv
z3ntu has joined #linux-sunxi
freddor has joined #linux-sunxi
MartijnBraam has joined #linux-sunxi
Jeremy_Rand_Talo has joined #linux-sunxi
romainmahoux[m] has joined #linux-sunxi
hpagseddy[m] has joined #linux-sunxi
agates[m] has joined #linux-sunxi
Danct12 has joined #linux-sunxi
fevv8[m] has joined #linux-sunxi
mic-e[m] has joined #linux-sunxi
solderfumes has joined #linux-sunxi
atopuzov[m] has joined #linux-sunxi
insep[m] has joined #linux-sunxi
EmilKarlson has joined #linux-sunxi
t4h4[m] has joined #linux-sunxi
davidebeatrici has joined #linux-sunxi
k40s[m] has joined #linux-sunxi
thefloweringash has joined #linux-sunxi
clementp[m] has joined #linux-sunxi
florian has joined #linux-sunxi
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 264 seconds]
GrimKriegor has quit [Ping timeout: 265 seconds]
libv has joined #linux-sunxi
libv_ has quit [Ping timeout: 246 seconds]
florian has quit [Ping timeout: 268 seconds]
GrimKriegor has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
libv has quit [Ping timeout: 240 seconds]
libv has joined #linux-sunxi
libv_ has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
libv has quit [Ping timeout: 240 seconds]
libv_ is now known as libv
yann has joined #linux-sunxi
AneoX has joined #linux-sunxi
florian has joined #linux-sunxi
florian has quit [Ping timeout: 240 seconds]
florian has joined #linux-sunxi
lkcl has joined #linux-sunxi
armessia has joined #linux-sunxi
NeuroScr has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
tllim has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
jbrown has quit [Ping timeout: 276 seconds]
akaWolf has quit [Ping timeout: 276 seconds]
akaWolf has joined #linux-sunxi
jbrown has joined #linux-sunxi
NeuroScr has quit [Quit: NeuroScr]
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 276 seconds]
NeuroScr has joined #linux-sunxi
yann has quit [Ping timeout: 268 seconds]
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
f11f12 has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 240 seconds]
armessia has quit [Quit: Leaving]
f11f12 has quit [Quit: f11f12]
tllim has quit [Ping timeout: 264 seconds]
reinforce has quit [Quit: Leaving.]
freemangordon has quit [Ping timeout: 240 seconds]
lurchi__ has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 240 seconds]
yann has joined #linux-sunxi
gaston1980 has quit [Quit: Konversation terminated!]
lurchi__ has quit [Quit: Konversation terminated!]
florian has quit [Ping timeout: 276 seconds]
lurchi_ has joined #linux-sunxi
lynxis has quit [Remote host closed the connection]
aloo_shu has joined #linux-sunxi
sunshavi has joined #linux-sunxi
jstefanop has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
lynxis has joined #linux-sunxi
jstefanop has quit [Ping timeout: 240 seconds]
vagrantc has joined #linux-sunxi
freemangordon has joined #linux-sunxi
nashpa has quit [Ping timeout: 240 seconds]
jstefanop has joined #linux-sunxi
jstefanop has quit [Ping timeout: 240 seconds]
warpme_ has quit [Quit: Connection closed for inactivity]
nashpa has joined #linux-sunxi
random_yanek has quit [Read error: Connection reset by peer]
random_yanek has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 264 seconds]
tllim has joined #linux-sunxi
lurchi_ is now known as lurchi__
jstefanop has joined #linux-sunxi
jstefanop has quit [Ping timeout: 240 seconds]