ArmbianHelper changed the topic of #armbian to: armbian - Linux for ARM development boards | www.armbian.com | Github: github.com/armbian | Commits: #armbian-commits | Developer talk: #armbian-devel | Forum feed: #armbian-rss | Off-Topic: #armbian-offtopic | Logs: -> irc.armbian.com
<archetech> id copy the partition over
chris_99 has quit []
lanefu-er has quit [Ping timeout: 255 seconds]
DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian
lanefu-er has joined #armbian
lanefu-er has quit [Ping timeout: 255 seconds]
lanefu-er has joined #armbian
jclsn has quit [Ping timeout: 245 seconds]
jclsn has joined #armbian
<KREYREN> archetech, what partition
jclsn has quit [Ping timeout: 248 seconds]
jclsn has joined #armbian
<archetech> KREYREN, wasnt @you
<KREYREN> archetech, meh
<jspiros> still looking into what is involved in adding support for a new board, it's pretty overwhelming as a newcomer
<jspiros> have a bunch of orange pi zero 3 boards that run well with the orange pi-provided debian image, but wouldn't mind something a bit more openly developed and reproducable
<KREYREN> jspiros, copy paste a config, change values and throw it in merge request
<KREYREN> i can mentor you if you want
<jspiros> right now I'm trying to wrap my head around how the build system handles the orange pi zero 2
<jspiros> as I understand the zero 3 to be a minor revision, with almost the same chip and some different peripherals
archetech has quit [Quit: Leaving]
<KREYREN> jspiros, make config, build it, flash it on the device and take a look then :P
<KREYREN> ./compile BOARD_NAME="Orange Pi 2 zero" BOARDFAMILY="sun8i" BOOTCONFIG="orangepi_2_defconfig" KERNEL_TARGET="legacy,current,edge" might get you usable result
<jspiros> I tried naively running orange pi zero 2 build, doesn't even try booting
<KREYREN> do you have a way to interact with the device e.g. serial console/JTAG ?
<KREYREN> cuz you kinda want to have that for a development unless you are a masochist :p
<jspiros> I do not, but I'm willing to buy a jtag thing
<jspiros> (also the orange pi zero 2 is sun50iw9)
<jspiros> orange pi names aren't the most clear, but orange pi zero 2 is sequel to orange pi zero, and zero 3 is sequel; unrelated to orange pi 2 or orange pi 3
<KREYREN> hmm i see O.o
<KREYREN> well with serial console you can do `picocom -b BAUM /dev/ttyDEVICE` and get what it's printing during the phases and then use it as a console in the userland to interact with the OS
<jspiros> upstream linux only added support for h618 in 6.5, but I think someone recently merged in 6.5 edge stuff for allwinner boards
<KREYREN> take a look at https://github.com/armbian/build/pull/5689#issuecomment-1712410502 in build log for example
<jspiros> I have a bunch of rs232<->usb dongles but I assume jtag dongles are slightly different
<jspiros> but if I can use one of those with dupont jumpers to make it work then I have what I need
<KREYREN> you want to look at the linux sunxi community they maintain a wiki with useful information
<KREYREN> https://linux-sunxi.org/Linux_mainlining_effort here is a nice table for what's mainlined
<KREYREN> about the `/dev/ttyDEVICE` you can get that from `$ dmesg -w` and connecting the debugger
<KREYREN> look for CH341A kind they worked for me the most atm
<KREYREN> and before connecting that to the board verify that it's set in the correct voltage mode usually it's 3v3 meaning 3 Volts DC at 3 Amperes or 5V for 5 Volts at 1 Ampere
<KREYREN> plugging 5V in 3V3 is a way to blow up the board and then figuring out what released the magic smoke to fix it :p
<KREYREN> dunno how the rs232<->usb work usually these are made to interact with an industrial devices
<KREYREN> you might be able to jumperwire the pins to make it work
<jspiros> I have used the sunxi wiki before, though the zero3/h618 is very new so there's not a lot available yet, they only started selling this board about 2 months ago
<jspiros> but h618 is just h616 with more cache or something
<KREYREN> I see O.o
<KREYREN> seems to be among the most common
<KREYREN> and widely available
<KREYREN> Lot of them at 5V though so you need to be careful
<jspiros> good to know
<KREYREN> https://i.imgur.com/IvahT7p.jpg this mod can be used if needs be for 3V3 and some have a pin that can switch the voltage
<KREYREN> you can also use other SBC
<KREYREN> they often have pins that can be used that way
<KREYREN> with PL2303XA chipset, very cheap
<KREYREN> and in case you get lost then ask in #sunxi there are people who develop the thing so they often have lot of info and are happy to help
<jspiros> also good to know, thanks :)
<KREYREN> npnpn feel free to msg me anytime happy to help
<jspiros> appreciate it :)
crabbedhaloablut has joined #armbian
<KREYREN> jspiros, also the uboot docs are important https://u-boot.readthedocs.io/en/latest/board/allwinner/sunxi.html bcs e.g. the uboot has to be installed on 16th sector for the board to be able to use it
<KREYREN> sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/DEVICE bs=1024 seek=8
<KREYREN> e.g.
<jspiros> yeah, was able to get an attempted boot going by copying the uboot from one of the OEM images to an armbian pi zero 2 image
<jspiros> I am new to arm stuff, uboot, etc.
<jspiros> got 20 years experience with Debian on x86 and powerpc but zero with this stuff, so need to learn a lot :)
<DC-IRC> <Werner> From Debian userspace POV there won't be much difference. The interesting stuff is all under the hood 😉
junaid_ has joined #armbian
lyri has quit [Remote host closed the connection]
lyri has joined #armbian
lyri has quit [Remote host closed the connection]
lyri has joined #armbian
lyri has quit [Remote host closed the connection]
stipa has quit [Quit: WeeChat 3.0]
lyri has joined #armbian
lyri has quit [Remote host closed the connection]
e3ef13f4ff44 has quit [Server closed connection]
e3ef13f4ff44 has joined #armbian
junaid_ has quit [Ping timeout: 248 seconds]
junaid_ has joined #armbian
KREYREN has quit [Remote host closed the connection]
KREYREN has joined #armbian
marco44 has quit [Read error: Connection reset by peer]
marco44 has joined #armbian
marco44 has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
<thms> wait adding a new device is like compiling a kernel for gentoo ? key2
<thms> KREYREN*
<thms> figuring out what kernel modules are needed and whatnot until it boots and gets usable?
marco44 has joined #armbian
chewitt has quit [Ping timeout: 240 seconds]
chewitt has joined #armbian
chris_99 has joined #armbian
<chris_99> I solved my issue with my orange pi dropping lots of frames on 60fps video :), my tv didn't seem to advertise 4k 60Hz via EDID correctly, so i used wxEDID to modify the pixel clock/refresh rate, and added to the firmware directory then passed to u-boot's bootargs and it set the correct refresh rate on the tv and now drops hardly any frames
<thms> good work!
<thms> thanks for coming back to let us know chris_99 :)
<chris_99> the wxEDID program is very neat, hadn't heard of it till yesterday
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #armbian
attah has quit [Read error: Connection reset by peer]
Smedles has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Smedles has joined #armbian
attah has joined #armbian
<KREYREN> thms, not really, the framework is usually able to use the mainline kernel that is pre-built, but ye if you need to do changes to the kernel then you will need to build one
<KREYREN> kernel modules are non-issue, you just get a bloated defconfig kernel, boot it and then do `make localmodconfig` and whoa optimized kernel modules! :p
<KREYREN> and most of the boards use the defconfig anyway atm bcs it works everywhere
<KREYREN> stuff that is pain to do is when the board doesn't have a good mainline then you either have to wait for someone to do the mainline or write kernel drivers and make patches to the bootloader etc..
<KREYREN> stuff from pine64 is notorious for that, hug em
junaid_ has quit [Ping timeout: 248 seconds]
<KREYREN> buying an overpriced device filled with hardware issues and having to write my own mainline and they don't even give me docs and hardware files =-=
<KREYREN> i hate them with passion
junaid_ has joined #armbian
junaid_ has quit [Ping timeout: 258 seconds]
zeemate has joined #armbian
upekkha has quit [Server closed connection]
upekkha has joined #armbian
Tobarja has quit [Server closed connection]
Tobarja has joined #armbian
junaid_ has joined #armbian
lyri has joined #armbian
lyri has quit [Remote host closed the connection]
wd has quit [Ping timeout: 255 seconds]
wd has joined #armbian
wd has quit [Ping timeout: 250 seconds]
wd has joined #armbian
junaid_ has quit [Ping timeout: 258 seconds]
archetech has joined #armbian
junaid_ has joined #armbian
stipa has joined #armbian
Tenkawa has joined #armbian
<Tenkawa> chris_99: EDID strikes eh?
<Tenkawa> that thing is annoying
<Tenkawa> Yet another thing they create to annoy us with
<chris_99> yeah heh, no idea why my tv doesn't advertise 60Hz @ 4k
<Tenkawa> Yet another reason video/graphics annoys me
<Tenkawa> (One of the reasons I don't work on it unless I am forced)
junaid_ has quit [Remote host closed the connection]
buzzmarshall has quit [Quit: Konversation terminated!]
buzzmarshall has joined #armbian
marco44 has quit [Ping timeout: 246 seconds]
Tenkawa has left #armbian [Was I really ever here?]
marco44 has joined #armbian
junaid_ has joined #armbian
junaid_ has quit [Remote host closed the connection]
MoeIcenowy has quit [Server closed connection]
MoeIcenowy has joined #armbian
gabes2 has joined #armbian
gabes2 has quit [Client Quit]
gabes2 has joined #armbian
gabes2 has quit [Quit: The Lounge - https://thelounge.chat]
gabes2 has joined #armbian
zeemate has quit [Ping timeout: 248 seconds]
junaid_ has joined #armbian
smcavoy1651 has quit [Quit: The Lounge - https://thelounge.chat]
smcavoy1651 has joined #armbian
chris_99 has quit [Quit: Connection closed for inactivity]
yth has quit [Server closed connection]
yth has joined #armbian
zeemate has joined #armbian
smcavoy1651 has quit [Quit: The Lounge - https://thelounge.chat]
smcavoy1651 has joined #armbian
lyri has joined #armbian
lyri has quit [Remote host closed the connection]
milkii has quit [Server closed connection]
milkii has joined #armbian
KREYREN has quit [Remote host closed the connection]
lyri has joined #armbian
lyri has quit [Remote host closed the connection]
lyri has joined #armbian
junaid_ has quit [Remote host closed the connection]
lyri has quit [Remote host closed the connection]
KREYREN has joined #armbian
KREYREN has quit [Remote host closed the connection]
yang2 has quit [Server closed connection]
yang2 has joined #armbian
KREYREN has joined #armbian
poxifide has quit [Server closed connection]
poxifide has joined #armbian
mieeetek has quit [Remote host closed the connection]
chris_99 has joined #armbian
hays has quit [Ping timeout: 246 seconds]
junaid_ has joined #armbian
KREYREN has quit [Remote host closed the connection]
KREYREN has joined #armbian
senser has quit [Quit: senser]
rtyler has quit [Server closed connection]
rtyler has joined #armbian
hays has joined #armbian
KREYREN has quit [Quit: Leaving]
KREYREN has joined #armbian
junaid_ has quit [Remote host closed the connection]
KREYREN has quit [Ping timeout: 246 seconds]
joshaspinall has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
joshaspinall has joined #armbian
lanefu-er has quit [Ping timeout: 258 seconds]
crabbedhaloablut has quit []
lanefu-er has joined #armbian
lord_daemon has quit [Server closed connection]
lord_daemon has joined #armbian
archetech has quit [Quit: Konversation terminated!]
archetech has joined #armbian
chris_99 has quit [Quit: Connection closed for inactivity]