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*
agraf has quit [Ping timeout: 244 seconds]
Rafael1980 has quit [Quit: Konversation terminated!]
agraf has joined #linux-sunxi
lurchi_ is now known as lurchi__
scelestic has quit [Ping timeout: 250 seconds]
Masterph_ has quit [Quit: ZZZZzzzzz]
scelestic has joined #linux-sunxi
Masterph_ has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
victhor has quit [Ping timeout: 258 seconds]
Masterph_ has quit [Quit: ZZZZzzzzz]
Masterph_ has joined #linux-sunxi
tuxd3v has quit [Quit: Leaving]
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
\\Mr-C\\ has joined #linux-sunxi
\\Mr_C\\ has quit [Ping timeout: 250 seconds]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
\\Mr-C\\ has quit [Ping timeout: 250 seconds]
\\Mr_C\\ has joined #linux-sunxi
pcbBob2 has joined #linux-sunxi
pcbBob has quit [Ping timeout: 250 seconds]
return0e has quit [Read error: Connection reset by peer]
return0e_ has joined #linux-sunxi
Masterph_ has quit [Quit: ZZZZzzzzz]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 250 seconds]
vagrantc has quit [Quit: leaving]
selfbg has joined #linux-sunxi
pcbBob2 has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
dddddd has quit [Remote host closed the connection]
nuuuciano has quit [Ping timeout: 250 seconds]
selfbg has quit [Quit: selfbg]
pcbBob has joined #linux-sunxi
airwind has joined #linux-sunxi
gamelaster has joined #linux-sunxi
[7] has quit [Ping timeout: 268 seconds]
TheSeven has joined #linux-sunxi
gamelaster has quit [Ping timeout: 250 seconds]
f0xx has joined #linux-sunxi
clemens3 has quit [Ping timeout: 250 seconds]
clemens3 has joined #linux-sunxi
msimpson has joined #linux-sunxi
selfbg has joined #linux-sunxi
messpl has quit [Quit: Leaving]
_whitelogger has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
tnovotny has joined #linux-sunxi
Wizzup has quit [Ping timeout: 250 seconds]
Wizzup has joined #linux-sunxi
cch_ has joined #linux-sunxi
<cch_> Is there anybody has wrote keys to eFUSES successfully on OrangePi PC?
<KotCzarny> depends on definition of 'successfully'
<cch_> Writing SID is not my case, I want to have my MAC address been burned to eFUSES
aballier has quit [Quit: leaving]
<cch_> I have searched the irc logs. The VCC-EFUSES VDD-EFUSEBP pins have been mentioned to ENABLE efuses writing ability on board.
<cch_> The OrangePi PC has VCC-EFUSES linked with VCC3.3 and VDD-EFUSEBP linked with GND, does this mean eFUSES is ready to burned?
victhor has joined #linux-sunxi
aballier has joined #linux-sunxi
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
f0xx has quit [Ping timeout: 245 seconds]
pcbBob2 has joined #linux-sunxi
pcbBob has quit [Ping timeout: 240 seconds]
cch_ has quit [Read error: Connection reset by peer]
cch_ has joined #linux-sunxi
random_yanek has quit [Ping timeout: 268 seconds]
f0xx has joined #linux-sunxi
random_yanek has joined #linux-sunxi
cch_ has quit [Ping timeout: 250 seconds]
fkluknav has quit [Remote host closed the connection]
\\Mr_C\\ has joined #linux-sunxi
fkluknav has joined #linux-sunxi
victhor has quit [Ping timeout: 258 seconds]
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
BenG83 has joined #linux-sunxi
pcbBob2 has quit [Read error: Connection reset by peer]
pcbBob has joined #linux-sunxi
pcbBob2 has joined #linux-sunxi
reinforce has joined #linux-sunxi
pcbBob3 has joined #linux-sunxi
pcbBob has quit [Ping timeout: 268 seconds]
pcbBob2 has quit [Ping timeout: 250 seconds]
pcbBob3 has quit [Ping timeout: 250 seconds]
pcbBob has joined #linux-sunxi
pcbBob2 has joined #linux-sunxi
pcbBob has quit [Ping timeout: 268 seconds]
pcbBob2 has quit [Read error: Connection reset by peer]
pcbBob has joined #linux-sunxi
pcbBob2 has joined #linux-sunxi
pcbBob has quit [Ping timeout: 264 seconds]
Rafael1980 has joined #linux-sunxi
jailbox has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
BenG83 has quit [Quit: Leaving]
airwind has quit [Quit: airwind]
pcbBob has joined #linux-sunxi
pcbBob2 has quit [Read error: Connection reset by peer]
dddddd_ has joined #linux-sunxi
pcbBob2 has joined #linux-sunxi
pcbBob has quit [Ping timeout: 240 seconds]
BenG83 has joined #linux-sunxi
pcbBob2 has quit [Read error: Connection reset by peer]
dddddd_ is now known as dddddd
pcbBob has joined #linux-sunxi
pcbBob2 has joined #linux-sunxi
pcbBob has quit [Ping timeout: 245 seconds]
jailbox has joined #linux-sunxi
pcbBob2 has quit [Read error: Connection reset by peer]
pcbBob has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
pcbBob has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
Putti has joined #linux-sunxi
Frendor_ has left #linux-sunxi [#linux-sunxi]
selfbg has quit [Remote host closed the connection]
MoeIcenowy has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
MoeIcenowy has joined #linux-sunxi
f0xx has quit [Ping timeout: 255 seconds]
ashleyk_ has quit [Ping timeout: 256 seconds]
JohnDoe_71Rus has joined #linux-sunxi
Masterph_ has joined #linux-sunxi
nuuuciano has joined #linux-sunxi
Masterph_ has quit [Quit: ZZZZzzzzz]
SJRvanSchaik has quit [Read error: Connection reset by peer]
Masterph_ has joined #linux-sunxi
megi has joined #linux-sunxi
SJRvanSchaik has joined #linux-sunxi
msimpson has quit [Read error: Connection reset by peer]
tnovotny has quit [Quit: Leaving]
Putti has quit [Remote host closed the connection]
Masterph_ has quit [Quit: ZZZZzzzzz]
clemens3 has quit [Read error: Connection reset by peer]
clemens3 has joined #linux-sunxi
clement_ has joined #linux-sunxi
clement_ has quit [Quit: Page closed]
fkluknav has quit [Remote host closed the connection]
fkluknav has joined #linux-sunxi
tnovotny has joined #linux-sunxi
dirbaio has joined #linux-sunxi
netlynx has joined #linux-sunxi
tuxd3v has joined #linux-sunxi
<tuxd3v> Hello all,
<tuxd3v> I am trying to compile mainline uboot
<tuxd3v> for Alwinner H6
<tuxd3v> I have dts file
<tuxd3v> the thing is, when I try to:
<tuxd3v> make CROSS_COMPILE=../toolchain/gcc-linaro-aarch/bin/aarch64-linux-gnu- u-boot.bin
<tuxd3v> Appears a new Option..
<tuxd3v> Text Base (SYS_TEXT_BASE) [] (NEW)
<tuxd3v> Whatis this?
<tuxd3v> thanks in Advance
<tuxd3v> I had previously worked with fex and sunxi klernels, not with mainline
<tuxd3v> its my firsst attempt
rej has left #linux-sunxi ["All good people are asleep and dreaming"]
<tuxd3v> this is what I am talking about:
<tuxd3v> Any help is apreciated
<KotCzarny> have you seen wiki page about it?
<fALSO> what are you doing?
<fALSO> use the config...
<fALSO> and then just build it
<tuxd3v> I am using the config:
<tuxd3v> OrangePiH6_OnePlus_defconfig
<fALSO> tuxd3v,
<fALSO> My instructions
<fALSO> are in portuguese... but you can copy and paste the ARM TRUSTED FIRMWARE and UBOOT part
<fALSO> hope it helps you out
<tuxd3v> fALSO, thanks :)
<tuxd3v> I will read it
<tuxd3v> Portuguese is a Language close to me
<tuxd3v> :)
<fALSO> ignore the "MALI" part
<fALSO> and if you want, i have a patch for the kernel
<fALSO> to enable ethernet on the board
<MoeIcenowy> Allwinner is trying some work on RISC-V
<fALSO> tuxd3v, ^^
victhor has joined #linux-sunxi
clemens3 has quit [Ping timeout: 250 seconds]
<MoeIcenowy> just heard this some hours ago
<tuxd3v> fALSO, bl31 stands for bootloader v3.1?
<KotCzarny> no
<fALSO> bl31 its the file generated
<KotCzarny> aarch64 specdific firmware
<fALSO> on arm trusted firmware
<fALSO> that uboot needs
<MoeIcenowy> BL31 stands for Bootloader stage 3, the 1st part ;-)
<MoeIcenowy> (although the stage is defined inside ATF
<MoeIcenowy> (and do not apply when we only use BL31
<tuxd3v> the spl is tyhe first stage right?
<tuxd3v> done in FEL mode
<tuxd3v> this is to boot in Trust Environment
<tuxd3v> trust zone
tnovotny has quit [Quit: Leaving]
<ElBarto> any reason the i2c pins aren't set in the DTS for a64 ? (no pinctrl-names/-0)
<MoeIcenowy> ElBarto: is it an I2C controller with only 1 possible pinmux?
<MoeIcenowy> if it is, is it used in any DTs now?
<ElBarto> good question
<ElBarto> it is with only 1 pinmux
<ElBarto> don't know about the other
<ElBarto> but if the rules is that the pins aren't set if no boards uses it, it makes using overlays a bit more hard
<ElBarto> and dumb since you need to redefine the pins in the pinmux controller in the overlay too
frozeus has joined #linux-sunxi
<ElBarto> I see the nanopi-a64 and olinuxino using i2c1
frozeus has quit [Client Quit]
frozeus has joined #linux-sunxi
<ElBarto> sorry, bananapi-a64 not olinuxino
frozeus has quit [Ping timeout: 256 seconds]
f0xx has joined #linux-sunxi
BenG has joined #linux-sunxi
BenG has quit [Remote host closed the connection]
BenG83 has quit [Ping timeout: 255 seconds]
<tuxd3v> fALSO, thanks a lot for it..
<tuxd3v> It fails-me building ubbot
<tuxd3v> I tried several things, but without success.
<tuxd3v> swig?
<tuxd3v> what is that
<tuxd3v> maybe I need to install swig package..
BenG83 has joined #linux-sunxi
<tuxd3v> :D
<tuxd3v> swig, or swig3.0 ?
<tuxd3v> its the same..metapackage
msimpson has joined #linux-sunxi
msimpson has quit [Quit: Leaving]
vagrantc has joined #linux-sunxi
<rellla> should lima get a row on the status matrix, now that the kernel driver got merged? or is it too little sunxi specific?
<KotCzarny> isnt it called linux-SUNXI ?
<KotCzarny> if its linux and sunxi related
<KotCzarny> and most importantly, open source
<KotCzarny> but i guess blob blocks it still
<mripard> rellla: I guess it would deserve a separate page, or a page at the lima project level
<mripard> it's not more sunxi related than rockchip or whatever
duracrisis has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
<buZz> lima is turning usuable?
<anarsoul> buZz: it's getting merged
<buZz> > Qiang Yu believes the code is now ready for mainlining in the Linux kernel while in user-space he has also been nursing a Lima Mesa driver into shape. The Mali 400/450 series hardware is capable of OpenGL ES 2.0.
<buZz> awesome!
<fALSO> oi
BenG83 has quit [Quit: Leaving]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
BenG83 has joined #linux-sunxi
<curlybracket> cch_: Yes, a portion of the eFuses are writable on such boards. See this snippet https://gist.github.com/zavorka/b1cd1b688648f259238ef2168c22782d
f0xx has quit [Ping timeout: 246 seconds]
xes_ is now known as xes
MangyDog has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 246 seconds]
Rafael1980 has quit [Ping timeout: 250 seconds]
\\Mr_C\\ has quit [Ping timeout: 245 seconds]
frozeus has joined #linux-sunxi
<curlybracket> cch_: I've decided to implement the mac readout from SID in Linux, because I couldn't resist the sleek elegance of the NVMEM framework APIs. If you plan on initializing the ethernet device in u-boot, I advise not to follow my steps here.
<curlybracket> cch_: If [4/6] nvmem: sunxi_sid: Read out data in native format'
<curlybracket> cch_: .. from the 'nvmem: sunxi_sid: native format and A83T/H5 support' series is to be accepted, the htobe32 conversion would become redundant (yay!)
DonkeyHotei has quit [Read error: Connection reset by peer]
DonkeyHotei has joined #linux-sunxi
MangyDog has quit [Remote host closed the connection]
Mangy_Dog has joined #linux-sunxi
Kwiboo has quit [Quit: .]
Kwiboo has joined #linux-sunxi
Kwiboo has quit [Client Quit]
Kwiboo has joined #linux-sunxi
frozeus has left #linux-sunxi [#linux-sunxi]
frozeus_ has joined #linux-sunxi
frozeus_ has left #linux-sunxi [#linux-sunxi]
frozeus_ has joined #linux-sunxi
<frozeus_> Hi, I would like to know what r_xxx and s_xxx in the IPs means ?
<buZz> receive_ send_ ?
<buZz> i dno what context you are looking at, just a guestimate
Kwiboo has quit [Ping timeout: 250 seconds]
<frozeus_> e.g. r_pio / r_ccu or s_i2c
tllim has joined #linux-sunxi
<frozeus_> in the dts files
Kwiboo has joined #linux-sunxi
shfil has joined #linux-sunxi
<frozeus_> also the bus have this R_APB1 / R_APB2 .
souther has quit [Ping timeout: 258 seconds]
frozeus has joined #linux-sunxi
frozeus_ has quit [Ping timeout: 256 seconds]
souther has joined #linux-sunxi
<buZz> no clue
<tuxd3v> fALSO, I have hitted the wall..
<tuxd3v> :(
<tuxd3v> No way to get uboot compiled..
<buZz> scripts/dtc/pylibfdt/libfdt_wrap.c:149:21: fatal error: Python.h: No such file or directory
<buZz> did you install some python libraries? :P
<fALSO> tuxd3v, from what i understand uboot requires python2
<fALSO> you installed python3
<buZz> apt install python-all-dev
<tuxd3v> I installed python 3 libs
<tuxd3v> :S
Rafael1980 has joined #linux-sunxi
fkluknav has quit [Quit: ZNC 1.6.3 - http://znc.in]
<frozeus> just my 2cts but buildroot is realy nice for building this king of binary and don't waste your time with dependencies.
fkluknav has joined #linux-sunxi
<tuxd3v> Ok, I passed that one installing libpython2.7-dev libs..
<tuxd3v> :)
<tuxd3v> but hit the wall again..
<tuxd3v> that cross-compiller file is there..
<fALSO> you want a built uboot ?
<fALSO> 1sec
Mangy_Dog has quit [Ping timeout: 250 seconds]
<tuxd3v> I compiled bl32.bin
<tuxd3v> then put it in uboot folder,
<tuxd3v> then tried to compile it..
frozeus has quit [Quit: Page closed]
<fALSO> tuxd3v, for Orange Pi One Plus
<fALSO> flash to the card with: dd if=u-boot-sunxi-with-spl.bin of=/dev/sdX bs=8k seek=1
<fALSO> change sdX to the correct device
<fALSO> tuxd3v, it doesnt give any output to the display
<fALSO> you need to connect via serial to see anything
<fALSO> or at least it didnt, i haven tried recently
<fALSO> but thats a recent build559576 Mar 29 05:49 u-boot-sunxi-with-spl.bin
<fALSO> hope it helps you out
<tuxd3v> fALSO, thanks a lot!
<tuxd3v> So How does you login?
<tuxd3v> it doesn't output nothing to the screen?
<tuxd3v> only via serial?
<fALSO> yes, at least when i tried
<fALSO> tuxd3v, you login via serial, or ssh
<fALSO> tuxd3v, you can also use the pre-build armbian image
<fALSO> it kinda works
<tuxd3v> ok
<tuxd3v> you need to blash it always to position 8K?
<fALSO> well,, i've always did that way
<tuxd3v> or this version in particular?
<fALSO> not sure...
<tuxd3v> ha ok
<tuxd3v> I need to revise H6 boot
<fALSO> i probably saw that on some guide, and stuck with it ;-D
<aalm> i've always used "bs=1024 seek=8"
<fALSO> its the same i guess ;-D
<tuxd3v> yeah its the same i think
<aalm> yep, just more portable across everything i run on
<tuxd3v> So 8k for some reasol is were BROM FEL, goes for it
<tuxd3v> reason
<aalm> i believe MBR is one such reason
<tuxd3v> Alwinner H6 v200 user manual, has explanations about it.. section 3.2.1
<tuxd3v> MBR use 446 bytes for first stage
<tuxd3v> 446 first bytes
<tuxd3v> but here it loads at 8k
<tuxd3v> probably because fel code loads in the first 8k
<tuxd3v> :)
<tuxd3v> this is only a guess
<tuxd3v> but since BROM space is 32 KB
<tuxd3v> and since it has 2 sections
<tuxd3v> one for unsecure boot, and other for secure boot
<tuxd3v> or ARM trust zone
<tuxd3v> probably it uses linear addressing also on boot manager
<tuxd3v> since BROM starts at 0x00
<tuxd3v> we could imagine Fel load mode using the first8 kb
<tuxd3v> first 8kb
<smaeul> frozeus isn't here anymore, but "R_" stands for RTC and "S_" stands for standby
<smaeul> (the AR100 is sometimes called the CPUS, because it's used in the standby implementation)
ykchavan has joined #linux-sunxi
ykchavan has quit [Remote host closed the connection]
return0e_ has quit []
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 250 seconds]
lurchi__ is now known as lurchi_
naobsd has quit [Quit: The Lounge - https://thelounge.github.io]
naobsd has joined #linux-sunxi
<tuxd3v> AR100 is a CPU by itself
<tuxd3v> a 32 bits CPU if memory doesn't fail-me
<tuxd3v> its a OpenRisc core
<tuxd3v> Allwinner uses it, to implement power managment
<tuxd3v> AR100 is a openrisc design, but periferics are closed source, or proprietary, and belongs to a European Company
<tuxd3v> Allwinner uses their IP, on AR100