Turl 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
<[TheBug]> fun
<[TheBug]> well I guess I wait till next week when my new tools arrive
<[TheBug]> BenG83 they are on the github
<[TheBug]> to be specific
Yong has joined #linux-sunxi
<MoeIcenowy> in fact I usually do this kind of things violently ;-)
vagrantc has quit [Quit: leaving]
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
petr has quit [Ping timeout: 246 seconds]
afaerber has joined #linux-sunxi
petr has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 240 seconds]
dave0x6d has quit [Quit: Connection closed for inactivity]
BenG83_ has joined #linux-sunxi
BenG83_ has quit [Remote host closed the connection]
nobe has quit [Ping timeout: 260 seconds]
cnxsoft has joined #linux-sunxi
lkcl has joined #linux-sunxi
bier33 has joined #linux-sunxi
bier33_ has quit [Ping timeout: 260 seconds]
lkcl has quit [Ping timeout: 255 seconds]
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
_whitelogger has joined #linux-sunxi
pg12 has quit [Ping timeout: 255 seconds]
pg12 has joined #linux-sunxi
camh has quit [Ping timeout: 255 seconds]
camh has joined #linux-sunxi
camh1 has joined #linux-sunxi
camh has quit [Ping timeout: 240 seconds]
quard has quit [Quit: Leaving]
camh1 has quit [Ping timeout: 240 seconds]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 240 seconds]
camh1 has joined #linux-sunxi
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
chlorine has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
IgorPec has joined #linux-sunxi
chlorine has quit [Ping timeout: 260 seconds]
fkluknav has joined #linux-sunxi
DullTube has joined #linux-sunxi
IgorPec has quit [Ping timeout: 246 seconds]
sunxi_fan1 has joined #linux-sunxi
IgorPec has joined #linux-sunxi
sunxi_fan1 has left #linux-sunxi [#linux-sunxi]
DullTube has quit [Ping timeout: 246 seconds]
nobe has joined #linux-sunxi
leviathan_ has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
Andy-D__ has joined #linux-sunxi
luoyi has quit [Ping timeout: 240 seconds]
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
luoyi has joined #linux-sunxi
wingrime has joined #linux-sunxi
Mr__Anderson has quit [Quit: Leaving.]
JohnDoe_71Rus has joined #linux-sunxi
camh2 has joined #linux-sunxi
camh1 has quit [Ping timeout: 240 seconds]
foxx_ has joined #linux-sunxi
Andy-D_ has joined #linux-sunxi
Andy-D__ has quit [Ping timeout: 255 seconds]
ullbeking has joined #linux-sunxi
yann has quit [Ping timeout: 260 seconds]
<ullbeking> Is there an IRC channel for Orange Pi or is this it?
<KotCzarny> that depends what topic you want to discuss
<ullbeking> How to use the Orange Pi for socketed chip SPI flashing
<ullbeking> And which model and accessories I should get for this task
<KotCzarny> yeah, then it is the right channel, you just have to wait for someone knowledgeable in that area
<KotCzarny> did you check wiki already?
matthias_bgg has joined #linux-sunxi
chlorine has joined #linux-sunxi
<ullbeking> Not yet
<ullbeking> Still finding my way around
<ullbeking> Took me a while to even decide on a SBC
<ullbeking> KotCzarny: ty
Andy-D_ has quit [Ping timeout: 255 seconds]
chlorine has quit [Ping timeout: 240 seconds]
wingrime has quit [Ping timeout: 246 seconds]
Leepty has quit [Remote host closed the connection]
Leepty has joined #linux-sunxi
luoyi has quit [Ping timeout: 240 seconds]
luoyi has joined #linux-sunxi
leviathan_ has quit [Remote host closed the connection]
wingrime has joined #linux-sunxi
camh2 has quit [Ping timeout: 240 seconds]
lkcl has joined #linux-sunxi
camh2 has joined #linux-sunxi
BenG83_ has joined #linux-sunxi
yann has joined #linux-sunxi
<ullbeking> KotCzarny: I think we got things back to front... iiuc, that document describes how to flash the SPI flash chip on the Allwinner board itself. I'm intending to use the OPi as a platform to flash the BIOS of another computer, e.g., to install coreboot.
<KotCzarny> see fel mode
<KotCzarny> ahm, that way
<KotCzarny> see the part where it says about flashing spi frm the device (same page)
<KotCzarny> also, it doesnt matter if its spi on device or connected via wires, you just have to select proper spi
camh3 has joined #linux-sunxi
<KotCzarny> but for details of using different flashchips you will have to wait for someone more in the topic
camh2 has quit [Ping timeout: 240 seconds]
<KotCzarny> https://libreboot.org/docs/install/rpi_setup.html you cna probably use that page as a reference
kloczek has joined #linux-sunxi
BenG83_ has quit [Ping timeout: 260 seconds]
fkluknav has quit [Ping timeout: 260 seconds]
fkluknav has joined #linux-sunxi
vishnup has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
vishnup has quit [Ping timeout: 246 seconds]
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
wingrime has quit [Ping timeout: 246 seconds]
DullTube has joined #linux-sunxi
wingrime has joined #linux-sunxi
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
lurchi_ has quit [Quit: Konversation terminated!]
chlorine has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
fkluknav has quit [Ping timeout: 260 seconds]
chlorine has quit [Ping timeout: 240 seconds]
reinforce has joined #linux-sunxi
<ullbeking> KotCzarny: ty. I'm new to all this and still finding my way around.
chlorine has joined #linux-sunxi
<KotCzarny> same, i'm still going to hack my x60 ;)
chlorine_ has joined #linux-sunxi
<MoeIcenowy> in fact I used to use my Orange Pi One to break my ThinkPad E531's ME and flashed a de-whitelisted BIOS
<MoeIcenowy> I manually added a device node for spidev in the device tree
Yong has quit [Ping timeout: 260 seconds]
chlorine has quit [Ping timeout: 240 seconds]
<ullbeking> MoeIcenowy: cool! I don't suppose you wrote a blog post or anything?
<MoeIcenowy> nothing.
Leepty has quit [Ping timeout: 260 seconds]
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
Leepty has joined #linux-sunxi
TEKrantz has quit [Ping timeout: 240 seconds]
TEKrantz has joined #linux-sunxi
fkluknav has joined #linux-sunxi
vishnup has joined #linux-sunxi
lurchi_ is now known as lurchi__
perr has joined #linux-sunxi
perr has quit [Changing host]
perr has joined #linux-sunxi
popolon has joined #linux-sunxi
lurchi__ is now known as lurchi_
dave0x6d has quit [Quit: Connection closed for inactivity]
TEKrantz has quit [Read error: Connection reset by peer]
TEKrantz has joined #linux-sunxi
vishnup has quit [Read error: Connection reset by peer]
vishnu_ has joined #linux-sunxi
xes has quit [Quit: WeeChat 1.7.1]
DullTube has quit [Quit: Leaving]
lurchi_ is now known as lurchi__
xes has joined #linux-sunxi
leviathancn has joined #linux-sunxi
Leepty has quit [Ping timeout: 240 seconds]
Mr__Anderson has joined #linux-sunxi
Leepty has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
jbrown has joined #linux-sunxi
vishnu_ has quit [Ping timeout: 255 seconds]
cnxsoft has quit [Quit: cnxsoft]
vishnu_ has joined #linux-sunxi
pg12 has quit [Ping timeout: 255 seconds]
IgorPec has quit [Ping timeout: 260 seconds]
yann-kaelig has joined #linux-sunxi
jernej has joined #linux-sunxi
pg12 has joined #linux-sunxi
jbrown has quit [Remote host closed the connection]
JohnDoe_71Rus has joined #linux-sunxi
jernej has quit [Ping timeout: 255 seconds]
fkluknav has quit [Ping timeout: 260 seconds]
fkluknav has joined #linux-sunxi
Andy-D_ has joined #linux-sunxi
victhor has quit [Read error: Connection reset by peer]
Andy-D_ has quit [Ping timeout: 260 seconds]
perr has quit [Quit: Leaving]
IgorPec has joined #linux-sunxi
wangjun has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
wangjun_ has joined #linux-sunxi
vishnu_ has quit [Remote host closed the connection]
leviathancn has quit [Read error: Connection reset by peer]
jbrown has joined #linux-sunxi
wangjun has quit [Ping timeout: 240 seconds]
wangjun_ has quit [Ping timeout: 240 seconds]
victhor has joined #linux-sunxi
dev1990 has joined #linux-sunxi
matthias_bgg has quit [Quit: Leaving]
yann-kaelig has quit [Remote host closed the connection]
leviathan_ has joined #linux-sunxi
popolon has quit [Ping timeout: 240 seconds]
netlynx has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine_ has quit [Ping timeout: 255 seconds]
chlorine has quit [Ping timeout: 255 seconds]
Andy-D_ has joined #linux-sunxi
jbrown has quit [Quit: Leaving]
dev1990_ has joined #linux-sunxi
dev1990 has quit [Ping timeout: 260 seconds]
yann has quit [Ping timeout: 240 seconds]
IgorPec has quit [Ping timeout: 268 seconds]
dave0x6d has quit [Quit: Connection closed for inactivity]
jernej has joined #linux-sunxi
chlorine has joined #linux-sunxi
jernej has quit [Ping timeout: 246 seconds]
chlorine has quit [Ping timeout: 260 seconds]
dev1990_ has quit [Quit: Konversation terminated!]
Andy-D__ has joined #linux-sunxi
Andy-D_ has quit [Ping timeout: 240 seconds]
jernej has joined #linux-sunxi
<plaes> $
<plaes> duh..
BenG83_ has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
IgorPec has joined #linux-sunxi
yann has joined #linux-sunxi
petr has quit [Remote host closed the connection]
dave0x6d has joined #linux-sunxi
fl_0 has quit [Quit: STRG + Q]
petr has joined #linux-sunxi
fl_0 has joined #linux-sunxi
lennyraposo has quit [Remote host closed the connection]
jernej has quit [Read error: Connection reset by peer]
jernej_ has joined #linux-sunxi
leviathan_ has quit [Remote host closed the connection]
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
Andy-D_ has joined #linux-sunxi
chlorine has joined #linux-sunxi
Andy-D__ has quit [Ping timeout: 246 seconds]
popolon has joined #linux-sunxi
foxx_ has quit [Ping timeout: 255 seconds]
<smaeul> ullbeking: which Orange Pi do you have? I used the OPi PC2 to write a couple of DIP8 SPI flash chips, as well as a Thinkpad X220 using a clip
<smaeul> if you're using armbian, all you have to do is enable a device tree overlay. with a custom kernel, you'd need to add the device tree node manually
<smaeul> on the OPi PC2, there are two SPI controllers. the first is hooked up to the on-board flash chip. you can use the second with the 40-pin header
<smaeul> (the pins are the same layout as the Raspberry Pi -- it's about the middle of the connector)
<ullbeking> smaeul: thanks for your reply! what a helpful and nice surprise
<ullbeking> i haven't bought my OPi yet
<ullbeking> I'm also new to SBC computing
<ullbeking> Are you able to help me with a recommendation?
<ullbeking> I'll be using it to flash an Intel D510MO motherboard first. I also have an X200, X220, and T400 I want to flash later on.
<smaeul> another thing, people often complain about the power output of the RPi or BBB when doing in-system programming -- the lights on an RPi get visibly brighter when you unplug the SPI -- but the OPi PC2 I have can handle it no problem
<ullbeking> I'm a bit newbie and clueless as to which model to get (http://www.orangepi.org/)
<ullbeking> It's been recommended that I get a resistor kit too, though
<smaeul> ullbeking: Orange Pi is definitely a good choice for this. I'd recommend one that has good mainline support
<KotCzarny> ullbeking: there is a list of boards on the wiki
<KotCzarny> makes it easier to compare them
popolon has quit [Quit: WeeChat 1.7]
<smaeul> ullbeking: for 3.3V flash you can just plug the chip in directly
<KotCzarny> most of them are very similar, only differing on having one connector more or less, or different board layout/size
<KotCzarny> if you plan to use them for anything else than programming chips then make a list of features you need
<smaeul> I'd also recommend an Aarch64/ARMv8 board for various reasons (compatibility, simplicity, performance), so that would be one with either an A64 or H5 SoC
<KotCzarny> h5 is quite far from good mainline support
<smaeul> 4.12-rc works for me :) just need patches for emac and framebuffer
<KotCzarny> and thermal+cpufreq
<KotCzarny> and yeah, looks like 4.12 is very good for H5
<KotCzarny> haven't checked the status for a while
reinforce has quit [Quit: Leaving.]
<smaeul> ullbeking: anyway, for SPI, they all should work. Prime/Win/Zero+ are the newest, PC2 is still new-ish and has onboard flash you can boot from, etc.
lurchi__ is now known as lurchi_
Mr__Anderson has quit [Quit: Leaving.]
aballier has quit [Ping timeout: 268 seconds]
aballier has joined #linux-sunxi
IgorPec has quit [Ping timeout: 255 seconds]
<ullbeking> smaeul: this is all great advice, thank you
<ullbeking> looking at the table of variants
<ullbeking> so the A64 or H5 would be useful for other scenarios? or are you saying they might work better than the OPi?
<smaeul> ullbeking: when you say "the OPi", which OPi are you referring to? there are several of them
<ullbeking> any one with the H3
<ullbeking> one of them has an H5
<smaeul> the only difference between the H3 and the H5 is that the H5 has faster, 64-bit ARMv8 cores, while the H3 has slower, 32-bit ARMv7 cores
<smaeul> the other features are the same
lkcl has quit [Ping timeout: 255 seconds]
<ullbeking> ohhhh now i see
<ullbeking> i had previously understood that all OPi boards were H3
<ullbeking> now i see they have different processors too
<ullbeking> so i should lean towards getting one with an H5 or A64?
<ullbeking> upstream support in linux kernel will be looking pretty good around 4.13-rc1
<ullbeking> smaeul: I can't see much difference between H5 and A64 except the GPU..?
<BenG83> H series is for set top boxes, A series is for mobile devices
<BenG83> generally
<BenG83> A series usually comes with support for a PMIC with battery charger
<BenG83> the H5 has three USB host controllers and the A64 two
<BenG83> those two points are the biggest difference iirc
<BenG83> so A64 boards mostly come with a battery connector
<BenG83> for a single LiPo cell
lkcl has joined #linux-sunxi
dev1990 has joined #linux-sunxi
dev1990 has quit [Client Quit]
<ullbeking> BenG83: thank you!!
<ullbeking> You have all been so helpful. I don't feel so lost now.
<BenG83> the world of SBC outside the RPi bubble can be confusing at first
<BenG83> there are so many ;)
<ullbeking> I've had a lot of good advice in these channels :-)
lurchi_ is now known as lurchi__
Keziolio has quit [Ping timeout: 260 seconds]
phipli has quit [Quit: Leaving]
jstein has quit [Remote host closed the connection]
<ullbeking> Ok, so I'm going through the table looking for the most recent H5 OPi with nicest specs. E.g. Ethernet would be nice.
<ullbeking> How do I determine compatibility and upstream support?
dave0x6d has quit [Quit: Connection closed for inactivity]
<willmore> BenG83, is there some difference in the ethernet between the H5 and A64 because of the LCD pinout or something?
<willmore> Does the Pine64 battery connector work, yet?
<willmore> I haven't checked in a while and it was a WIP back then.
<BenG83> AXP battery supports works fine otherwise we would have no working Pinebooks ;)
BenG83 has left #linux-sunxi ["Leaving"]
BenG83 has joined #linux-sunxi
<willmore> BenG83_, I was hoping the Pinebook work would feed back into that. Anything I need to be aware of?
<BenG83> regarding?
<BenG83> it is important to set correct battery parameters in the dts
<willmore> I.E. is there a page somewhere talking about the software side of things like setting charging limits, etc.?
<willmore> Ahh, see. ;)
<BenG83> but we are talking BSP kernel only here
<BenG83> there is nothing so far for mainline afaik
<willmore> Oh, I'm not really a BSP kind of person. Okay, bummer about mainline, then. :(
<BenG83> but since the AXP does that all in hardware more or less the battery stuff should work the same
<willmore> Okay.
<BenG83> there is just no driver yet that sets the parameters
<BenG83> you could just set them in u-boot or sth
<BenG83> MoeIcenowy started a basic AXP driver
<willmore> Nothing needs to be done other than that? Just set the values and let the chip do the work?
<BenG83> yes
<willmore> Okay.
<BenG83> we dont do anything dynamic on the PB atm
<willmore> Maybe MoeIcenowy will have something to say later. Thanks for the education.
<BenG83> you just have to keep in mind that the AXP keeps track of battery state
<willmore> Gotta run, dinner time. :)
<BenG83> so if you disconnect it from all power sources that process has to start over
<BenG83> we learned a good bit about AXP behavior