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*
Rafael1980 has quit [Quit: Konversation terminated!]
megi has quit [Ping timeout: 246 seconds]
agraf has quit [Ping timeout: 244 seconds]
vagrantc has quit [Ping timeout: 258 seconds]
agraf has joined #linux-sunxi
victhor has quit [Ping timeout: 258 seconds]
vagrantc has joined #linux-sunxi
chewitt has joined #linux-sunxi
ganbold has joined #linux-sunxi
ganbold has quit [Remote host closed the connection]
ganbold has joined #linux-sunxi
NeuroScr has quit [Quit: NeuroScr]
dddddd has quit [Remote host closed the connection]
zoums has joined #linux-sunxi
shfil has quit [Quit: Connection closed for inactivity]
TheSeven has quit [Ping timeout: 264 seconds]
TheSeven has joined #linux-sunxi
lurchi__ has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 255 seconds]
vagrantc has quit [Ping timeout: 258 seconds]
vagrantc has joined #linux-sunxi
foxx_ has joined #linux-sunxi
reinforce has joined #linux-sunxi
f0xx has joined #linux-sunxi
foxx_ has quit [Read error: Connection reset by peer]
IgorPec has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 246 seconds]
TheSeven has quit [Ping timeout: 264 seconds]
TheSeven has joined #linux-sunxi
IgorPec has quit [Ping timeout: 245 seconds]
iamfrankenstein has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
clemens3 has joined #linux-sunxi
random_yanek has quit [Quit: random_yanek]
random_yanek has joined #linux-sunxi
random_yanek has quit [Max SendQ exceeded]
random_yanek has joined #linux-sunxi
hanni76 has joined #linux-sunxi
tllim has quit [Read error: Connection reset by peer]
IgorPec has joined #linux-sunxi
AneoX has joined #linux-sunxi
clemens3 has quit [Ping timeout: 268 seconds]
clemens3 has joined #linux-sunxi
<wens> USB seems broken on 5.1-rc1: ehci-platform: probe of 1c14000.usb failed with error -22
leviathanch has joined #linux-sunxi
lkcl has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 245 seconds]
Rafael1980 has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 245 seconds]
victhor has joined #linux-sunxi
msimpson has joined #linux-sunxi
return0e_ has joined #linux-sunxi
return0e has quit [Ping timeout: 246 seconds]
f0xx has quit [Ping timeout: 250 seconds]
shfil has joined #linux-sunxi
popolon has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
f0xx has joined #linux-sunxi
IgorPec has quit [Ping timeout: 272 seconds]
victhor has quit [Ping timeout: 258 seconds]
<fALSO> good morning
gamelaster has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
chewitt has quit [Quit: Zzz..]
megi has joined #linux-sunxi
<plaes> wens: do you know who manages sunxi-tools repo?
<plaes> there's some low-hanging fruit (A20 SPI support, fel version upgrades) that could be merged..
MoeIcenowy has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
MoeIcenowy has joined #linux-sunxi
airwind has joined #linux-sunxi
BenG83 has joined #linux-sunxi
pmpp_ has quit [Ping timeout: 255 seconds]
pmpp has joined #linux-sunxi
nuuuciano has joined #linux-sunxi
zoums has quit [Ping timeout: 246 seconds]
fkluknav has quit [Remote host closed the connection]
Gerwin_J has joined #linux-sunxi
zoums has joined #linux-sunxi
fkluknav has joined #linux-sunxi
gamiee has joined #linux-sunxi
gamelaster has quit [Ping timeout: 250 seconds]
dddddd has joined #linux-sunxi
IgorPec has joined #linux-sunxi
<wens> plaes: me and some other people have write permission, though I'm not actively managing it
Gerwin_J has quit [Quit: Gerwin_J]
selfbg has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
nuuuciano_ has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 246 seconds]
OnkelUlla has left #linux-sunxi [#linux-sunxi]
afaerber has joined #linux-sunxi
gamiee has quit [Ping timeout: 250 seconds]
OnkelUlla has joined #linux-sunxi
fkluknav has quit [Remote host closed the connection]
fkluknav has joined #linux-sunxi
xade has joined #linux-sunxi
airwind has quit [Quit: airwind]
pmpp has quit [Disconnected by services]
pmpp_ has joined #linux-sunxi
zoobab has quit [Ping timeout: 268 seconds]
zoobab has joined #linux-sunxi
xade has quit [Ping timeout: 250 seconds]
voodoovood2 has joined #linux-sunxi
<voodoovood2> hi guys
<voodoovood2> what MAC address give you the u-boot on a64 SoC? a have 3 modules an the mac address is always same ethaddr=02:ba:7b:d5:c6:6f
xade has joined #linux-sunxi
<voodoovood2> i've found in sources, that the address is generated from SID eeprom serial number
<beeble> if you saved your environment and copied the image/disk/whatever
<voodoovood2> but sid on all three modules is just firt int selected
xade has quit [Read error: Connection reset by peer]
<beeble> the mac address will be cloned too
<beeble> so delete ethaddr from the env
xade has joined #linux-sunxi
<beeble> and reset
<voodoovood2> beeble - i understand you - have done it
<voodoovood2> but always is generated the same
<voodoovood2> i have read this - http://linux-sunxi.org/SID_Register_Guide
<voodoovood2> and found - /board/sunxi/board.c
<voodoovood2> there is function setup_environment - and there is by CRC generated mac address from SID serial
<voodoovood2> the problem is, when i read the address from where is MAC generated ->
<voodoovood2> => md.l 0x01c14200 4
<voodoovood2> =>
<voodoovood2> 01c14200: 92c000ba 00000000 00000000 00000000 ................
<beeble> worked for me. you did a env delete ethaddr and a saveenv afterwards?
<voodoovood2> yes
<voodoovood2> can you try please in u-boot console to read this address?
<voodoovood2> md.l 0x01c14200 4
<voodoovood2> i am pretty sure, that you will have data there.
<beeble> don't have an a64 at hand atm
<voodoovood2> yes, understand :/
f0xx has quit [Ping timeout: 245 seconds]
fkluknav has quit [Remote host closed the connection]
fkluknav has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
fkluknav has quit [Remote host closed the connection]
fkluknav has joined #linux-sunxi
<MoeIcenowy> voodoovood2: WHAT?
<MoeIcenowy> the last 3 words are not present?
<MoeIcenowy> voodoovood2: do you have access with USB FEL mode and sunxi-fel tool?
<MoeIcenowy> try to run `sunxi-fel sid` on the boards?
<voodoovood2> i have done buildroot with stock kernel 5.0.2 - made some dts changes for eMMC, ethernet and sound to work
<voodoovood2> user latest u-boot 2019.04 - rc3 -
<voodoovood2> moeIcenowy, a can try to arrange USB fel in one hour
<voodoovood2> should you send me some instructions?
<voodoovood2> i think the md.l in u boot should work good no?
gamiee has joined #linux-sunxi
<MoeIcenowy> I assume so
<MoeIcenowy> but who knows what happened?
<MoeIcenowy> just connect the board, and run `sunxi-fel sid`
fkluknav has quit [Remote host closed the connection]
<voodoovood2> ok, would you be there in hour?
<MoeIcenowy> should be
<beeble> i had some axp223 without serial number on the a31 in the past
fkluknav has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
f0xx has joined #linux-sunxi
<MoeIcenowy> beeble: this time seems that chip model id is present, but the remaining part missing
selfbg has quit [Remote host closed the connection]
reinforce has quit [Quit: Leaving.]
Gerwin_J has quit [Quit: Gerwin_J]
tllim has joined #linux-sunxi
fkluknav has quit [Remote host closed the connection]
fkluknav has joined #linux-sunxi
<voodoovood> ok,
<voodoovood> ok, i am there
<voodoovood> MoeIcenowy - ok
<voodoovood> D:\dev\aarch64\SUNXI>sunxi-fel.exe sid 92c000ba:00000000:00000000:00000000
<voodoovood> here it is
<voodoovood> D:\dev\aarch64\SUNXI>sunxi-fel.exe -v sid SID key (e-fuses) at 0x01C14200 92c000ba:00000000:00000000:00000000
<voodoovood> D:\dev\aarch64\SUNXI>sunxi-fel.exe ver AWUSBFEX soc=00001689(A64) 00000001 ver=0001 44 08 scratchpad=00017e00 00000000 00000000
victhor has joined #linux-sunxi
<MoeIcenowy> voodoovood: JACKPOT!
<MoeIcenowy> you really get an A64 w/o serial number burned in!
<mru> maybe he got the very first one
mhlavink has quit [Quit: No Ping reply in 180 seconds.]
voodoovood_ has joined #linux-sunxi
<voodoovood_> and not just one
voodoovood has quit [Ping timeout: 256 seconds]
<voodoovood_> at this moment i have 3pcs
<mru> also serial numbers are rarely actually serial
<JohnDoe_71Rus> chinese copy :)
<voodoovood_> ok, now - how to generate mac address? - i have models with eMMC flash
<voodoovood_> this chip has serial no
<voodoovood_> any idea how to read out, in uboot?
<beeble> i have code for that
<beeble> you might have to port it forward
<voodoovood_> i am not a contributor - i have never do it - but i should try it
<voodoovood_> 3S4200V:~# cat /sys/bus/mmc/devices/mmc2\:0001/serial 0xd3e12fd0
<beeble> just as an example
msimpson has quit [Quit: Leaving]
<voodoovood_> yeah, nice and simple - wow :D
<voodoovood_> how to use it? copy paste? :D
<voodoovood_> or - patch
<beeble> you might run into issues with the mmc stuff. i haven't followed the sunxi mmc code closely for some time
<voodoovood_> ok, it's just few linex, i will insert it manually
IgorPec has quit [Ping timeout: 246 seconds]
<voodoovood_> where to define this? CONFIG_SUNXI_PANGOLIN
<beeble> that's a Kconfig option. you might not want to go all that way for just testing
<voodoovood_> ok, i will comment it out
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 246 seconds]
Putti has joined #linux-sunxi
<voodoovood_> i must do some changes - already not setenv byt env_set and env_get already
<voodoovood_> compiled, writing to emmc
reinforce has joined #linux-sunxi
<voodoovood_> ethaddr=02:41:63:91:00:f7
<voodoovood_> looks different
<voodoovood_> :D
<voodoovood_> 3S4200V:~# cat /sys/bus/mmc/devices/mmc0\:0007/serial 0x00236391
<voodoovood_> it is from sd card - maybe from boot devide
<voodoovood_> device
<MoeIcenowy> btw
<MoeIcenowy> voodoovood_: what's your board?
<voodoovood_> Olimex - olinuxino
<voodoovood_> A64-OLinuXino-1Ge4GW with 1GB RAM and 4GB extra eMMC flash and extra WiFi/BLE module
<voodoovood_> [ 0.329947] axp20x-rsb sunxi-rsb-3a3: AXP20x variant AXP803 found [ 0.332103] axp20x-adc axp813-adc: DMA mask not set [ 0.333273] dcdc1: supplied by regulator-dummy
<voodoovood_> btw: i have many of this "regulator-dummy" have i missed something in dts?
<MoeIcenowy> voodoovood_: normal
<MoeIcenowy> don't mind
<voodoovood_> ok, should i help somehow the community with this?
<MoeIcenowy> no
<MoeIcenowy> there's no good model for it
<voodoovood_> ok, i am also developer - producing embedded aplications - maybe is good time to contribute somewhere and somwhow
<voodoovood_> somehow
<voodoovood_> MoeIcenowy - why you were interested in board?
<voodoovood_> if i could ask :D
<MoeIcenowy> I wonder where's the chips' source
leviathanch has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 246 seconds]
<voodoovood_> ok, what about idea - to check if SID serial is zero - if it is zero, then read from MMC?
<plaes> the patch given before uses emmc serial
<tuxillo> hi
<tuxillo> how good/bad is the orange pi 2g-iot linux support is?
<tuxillo> -is
<KotCzarny> wrong channel
<KotCzarny> not sunxi/allwinner
<KotCzarny> so, no support apart from bsp you get from xunlong
<tuxillo> it's not allwinner?
<tuxillo> hmm
<tuxillo> RDA SoC heh
<tuxillo> yeh
<tuxillo> it seems they released a 3G-IoT (versions A and B) but with MTK :/
\\Mr_C\\ has quit [Ping timeout: 246 seconds]
<tuxillo> and even a 4G one heh
<tuxillo> meh
chewitt has joined #linux-sunxi
\\Mr_C\\ has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
<hanni76> MoeIcenowy, do you have a new version of the patchset https://lore.kernel.org/patchwork/cover/833654/
<MoeIcenowy> sorry
<MoeIcenowy> no
<hanni76> okay
netlynx has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
IgorPec has joined #linux-sunxi
clemens3 has quit [Ping timeout: 272 seconds]
gamiee has quit [Ping timeout: 272 seconds]
martinayotte has joined #linux-sunxi
<martinayotte> I've just check my A64-OlinuXino, and it also has some zeros in SID
hramrach has quit [Ping timeout: 255 seconds]
IgorPec has quit [Ping timeout: 246 seconds]
hramrach has joined #linux-sunxi
vagrantc has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<voodoovood_> send plese whole sid
<voodoovood_> martinayotte send please whole sid
<martinayotte> 0000000000000000 0000000092C000BA
<martinayotte> I've used "./devmem2 0x01c14200 l" and "./devmem2 0x01c14208 l"
pmpp has joined #linux-sunxi
pmpp_ has quit [Ping timeout: 272 seconds]
Mandragor has quit [Ping timeout: 255 seconds]
NeuroScr has joined #linux-sunxi
Mandragor has joined #linux-sunxi
Mandragor has quit [Ping timeout: 245 seconds]
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
Mandragor has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
pmpp has quit [Ping timeout: 255 seconds]
pmpp has joined #linux-sunxi
Putti has quit [Ping timeout: 244 seconds]
dlan has quit [Quit: Lost terminal]
f0xx has quit [Ping timeout: 255 seconds]
afaerber has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 250 seconds]
reinforce has quit [Quit: Leaving.]
RichardG867 has quit [Quit: Keyboard not found, press F1 to continue]
nuuuciano_ has quit [Read error: Connection reset by peer]
hanni76 has quit [Quit: Leaving]
nuuuciano_ has joined #linux-sunxi
gamiee has joined #linux-sunxi
RichardG867 has joined #linux-sunxi
gamiee has quit [Ping timeout: 255 seconds]
chewitt has quit [Ping timeout: 255 seconds]
chewitt has joined #linux-sunxi
xade has quit [Remote host closed the connection]
xade has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
xade has quit [Ping timeout: 245 seconds]
vagrantc has quit [Quit: leaving]
xade has joined #linux-sunxi