lanefu changed the topic of #armbian-rockchip to: Armbian - Linux for ARM development boards | Rockchip SoC | www.armbian.com | This channel is relayed to the equivalent Discord channel | this channel is logged
DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian-rockchip
<DC-IRC>
[Discord] <capnemo> Hello, what would be the best way to create a new package of the legacy kernel so that additional modules are present ? Would the armbian build project be enough for that ? (orange pi 5 plus precisely)
<DC-IRC>
[Discord] <lanefu> yeah use the build framework to build your own image....
<DC-IRC>
[Discord] <lanefu> `./compile.sh BOARD=whatever kernel-configure` then copy your new kernel config to to the advised location and then `./compile.sh BOARD=whatever kernel`
<DC-IRC>
[Discord] <capnemo> great 🙂 I wonder if I would have to prevent apt to upgrade the kernel after that (freeze the version of the package)
<DC-IRC>
[Discord] <lanefu> honestly the best thing you can do to survive long-term on an armbian box is do this
<DC-IRC>
[Discord] <capnemo> lol, that's radical, but fully understand the idea
<DC-IRC>
[Discord] <lanefu> makes every `apt update && apt upgrade -y` less dramatic for sure
<DC-IRC>
[Discord] <tenkawa42> just not using -y would remove a lot of drama.... *ducks*
<DC-IRC>
[Discord] <lanefu> just defers the drama
<DC-IRC>
[Discord] <tenkawa42> No.... you can choose to not update it then actually "understand/fix" the issue
<DC-IRC>
[Discord] <tenkawa42> thats not deferring it
<DC-IRC>
[Discord] <lanefu> the issue is `linux-image-rockchip64-current` and related packages being a dice roll everytime
<DC-IRC>
[Discord] <lanefu> you don't know until it doesn't come up on reboot
<DC-IRC>
[Discord] <tenkawa42> Well.... that in itself sounds like a integration/build testing issue to me.
<DC-IRC>
[Discord] <lanefu> it is
<DC-IRC>
[Discord] <lanefu> which is why i just recommend people turn off the repo
<DC-IRC>
[Discord] <tenkawa42> heheh indeed
<DC-IRC>
[Discord] <lanefu> then if they really want to they can test in a controlled environment
<DC-IRC>
[Discord] <lanefu> like i do
<DC-IRC>
[Discord] <lanefu> speaking of which .. presently frustrated now that i realized I need to buy a second nanopi-r5s so i can test upgrades on my router
<DC-IRC>
[Discord] <tenkawa42> ack
<DC-IRC>
[Discord] <lanefu> so far it's been a fun adventure
<DC-IRC>
[Discord] <tenkawa42> thats a bummer
<DC-IRC>
[Discord] <lanefu> my yolo router is 🔥
<DC-IRC>
[Discord] <tenkawa42> I think one of my Rock5's fried
<DC-IRC>
[Discord] <lanefu> debian sid and 6.6.y
<DC-IRC>
[Discord] <tenkawa42> No led..
<DC-IRC>
[Discord] <tenkawa42> It was the pre-release one
<DC-IRC>
[Discord] <lanefu> oh
<DC-IRC>
[Discord] <lanefu> yeah they're probably less interested in post-mortem on that
<DC-IRC>
[Discord] <tenkawa42> It already had a few other physical issues....
<DC-IRC>
[Discord] <lanefu> mine's still working fortuantely
<DC-IRC>
[Discord] <lanefu> man what's the easiest way to identify the actual SoC running on a box
<DC-IRC>
[Discord] <tenkawa42> just a sec.. let me get the nodename
<DC-IRC>
[Discord] <tenkawa42> lshw -short -c system will give it to you
<DC-IRC>
[Discord] <capnemo> hmm, rockchip seems to always be an adventure
<DC-IRC>
[Discord] <tenkawa42> @capnemo oh if you only knew
<DC-IRC>
[Discord] <capnemo> I got 3 orange pi 5 plus thinking, all good, but I didn't test it enough 😄
<DC-IRC>
[Discord] <tenkawa42> @lanefu I know there's a direct /sys node to get it from but I can't remember it offhand
<DC-IRC>
[Discord] <tenkawa42> That lshw does it through userland though
<DC-IRC>
[Discord] <lanefu> ```
<DC-IRC>
[Discord] <lanefu> root@csr1-sub07:~# lshw -short -c system
<DC-IRC>
[Discord] <lanefu> H/W path Device Class Description
<DC-IRC>
[Discord] <tenkawa42> I have very high end cables.
<DC-IRC>
[Discord] <tenkawa42> Yeah 10W is a big ... odd
<DC-IRC>
[Discord] <tenkawa42> Yeah 10W is a bit... odd
<DC-IRC>
[Discord] <Tonymac32> 4 degree K lead conductors with metamaterial connectors that have negative resistance. If you cross above 3 amps through a USB-C you are asking for trouble and losses, 15W peak at the bad decision of 5V
<DC-IRC>
[Discord] <Tonymac32> 25W through a 5V connection is just a bad idea
<DC-IRC>
[Discord] <Tonymac32> no two ways about it
<DC-IRC>
[Discord] <Tonymac32> it's like the old Tinker Board using a micro B with a 3A pull, terrible design choice
<DC-IRC>
[Discord] <Tonymac32> "negligent" might be the word used if a fire gets traced back 😉
<DC-IRC>
[Discord] <tenkawa42> eek.... melted/shorted metal waiting to happen
<DC-IRC>
[Discord] <Tonymac32> while the type c is a better connector, it's still a *very* dumb choice to run 5A through it when you hand these things to hobbyists and students
<DC-IRC>
[Discord] <Tonymac32> needed a basic PD setup like Radxa at minimum, run 9/12V at lower amps
<DC-IRC>
[Discord] <tenkawa42> awww why not 20?
<DC-IRC>
[Discord] <Tonymac32> well you could, but radxa didn't spec their circuit to handle it properly either 😄
<DC-IRC>
[Discord] <tenkawa42> Yeah
<DC-IRC>
[Discord] <tenkawa42> theirs is a mess
<DC-IRC>
[Discord] <Tonymac32> underrated components all over the place for 20V
<DC-IRC>
[Discord] <Tonymac32> but the chip still negotiates it
<DC-IRC>
[Discord] <tenkawa42> yep
<DC-IRC>
[Discord] <Tonymac32> the NanoPi R5S uses an STMicro chip to negotiate, and I believe it only does 5, 9, or 12
<DC-IRC>
[Discord] <tenkawa42> STM parts in general tend to work better
<DC-IRC>
[Discord] <Tonymac32> well in this case it's purely software on the vendor's part, I'm sure the Radxa one could limit to 12 as well
<DC-IRC>
[Discord] <Tonymac32> but they didnt' configure it that way
<DC-IRC>
[Discord] <Tonymac32> left hand right hand I would guess
<DC-IRC>
[Discord] <Tonymac32> like why the OPi with PCIe plug is all borked
<DC-IRC>
[Discord] <tenkawa42> possibly but just noting... generally
<DC-IRC>
[Discord] <Tonymac32> the schematic symbol and the PCB device symbol don't match and scrambled the pairs
<DC-IRC>
[Discord] <tenkawa42> ouch
<DC-IRC>
[Discord] <Tonymac32> I only give them grief because *THE NEVER FIXED IT*
<DC-IRC>
[Discord] <Tonymac32> mistakes happen, look at every single RPi release 😄 😄
<DC-IRC>
[Discord] <Tonymac32> but you need to fix the issues
<DC-IRC>
[Discord] <Tonymac32> I only give them grief because *THEY NEVER FIXED IT*
<DC-IRC>
[Discord] <tenkawa42> There were several things they didn't fix in pre-release that they had chances to before fabrication of 2 new rev boards
<DC-IRC>
[Discord] <Tonymac32> I make safety devices, so my perspective can be a bit severe, but a lot of this stuff is just failure to sit down in a room and do a basic design review
<DC-IRC>
[Discord] <tenkawa42> So we ended up with post prod still with the bugs.
<DC-IRC>
[Discord] <tenkawa42> Exactly... design review is essential
<DC-IRC>
[Discord] <Tonymac32> Hardkernel and Radxa have both committed an identical sin that makes me laugh, and that's not centering the mounting holes for their heat sink on the center point of the SoC
<DC-IRC>
[Discord] <Tonymac32> what makes it more comical is they committed the same error using the same heat sink/fan 😄
<DC-IRC>
[Discord] <Tonymac32> (XU4 and Rock5b use the same cooler)
<DC-IRC>
[Discord] <Tonymac32> so it doesn't sit flat
<DC-IRC>
[Discord] <tenkawa42> Never noticed this on Hardkernel but most of the Odroid's don't have that issue
<DC-IRC>
[Discord] <Tonymac32> yeah the XU4 does
<DC-IRC>
[Discord] <Tonymac32> that springloaded fan likes to sit unevenly
<DC-IRC>
[Discord] <Tonymac32> exactly like the Rock5
<DC-IRC>
[Discord] <Tonymac32> Hardkernel is generally far more careful with the mechanical designs, to your point
<DC-IRC>
[Discord] <Tonymac32> most other vendors appear to be lacking mechanical designers entirely
<DC-IRC>
[Discord] <tenkawa42> FriendlyElec is the one that scares me in that area
<DC-IRC>
[Discord] <Tonymac32> lol for which device?
<DC-IRC>
[Discord] <tenkawa42> A lot of the older NanoPI's
<DC-IRC>
[Discord] <Tonymac32> Ah, the suspiciiosly OPi looking ones?
<DC-IRC>
[Discord] <Tonymac32> NEO/etc
<DC-IRC>
[Discord] <tenkawa42> and the tiny "shove everything into as cramped space as possible" ones
<DC-IRC>
[Discord] <tenkawa42> NanoPi Neo Plus 2 etc
<DC-IRC>
[Discord] <Tonymac32> I see two entirely different design teams in their boards
<DC-IRC>
[Discord] <tenkawa42> yeah
<DC-IRC>
[Discord] <Tonymac32> the ones that brought the NEO/etc, and the one that do the "PC" series
<DC-IRC>
[Discord] <Tonymac32> the style is entirely different
<DC-IRC>
[Discord] <Tonymac32> or I'm imagining it
<DC-IRC>
[Discord] <Tonymac32> 😄
<DC-IRC>
[Discord] <tenkawa42> Yeah I've not had any exposure to the *PC ones
<DC-IRC>
[Discord] <Tonymac32> I worked with FE for a reallly long time, predating the Raspberry Pi foundation
<DC-IRC>
[Discord] <Tonymac32> the PC's are nice
<DC-IRC>
[Discord] <Tonymac32> the NEO was fun, but yeah very difficult to handle
<DC-IRC>
[Discord] <tenkawa42> I had 2 NanoPI Neo Plus2 for a long time (have 1 atm)
<DC-IRC>
[Discord] <Tonymac32> I like the DUO, the breadboarding of USB is HILARIOUS
<DC-IRC>
[Discord] <Tonymac32> I would love to see any of these guys make more cost effective SoM's and future-proof their more serious form factors
<DC-IRC>
[Discord] <Tonymac32> everyone has to make the stupid pi-shape because of the general public
<DC-IRC>
[Discord] <Tonymac32> but it's a horrific form factor
<DC-IRC>
[Discord] <tenkawa42> I need to find something new to use on a RPI4 Carrier board
<DC-IRC>
[Discord] <Tonymac32> but when they make something different, it should be smarter
<DC-IRC>
[Discord] <tenkawa42> Got one sitting idle
<DC-IRC>
[Discord] <Tonymac32> that SoM makes me angry 😄 😄 😄 the pinout is wasteful and idiotic
<DC-IRC>
[Discord] <Tonymac32> 200 pins and 1 USB 😄 😄 😄
<DC-IRC>
[Discord] <Tonymac32> and it's a USB 2
<DC-IRC>
[Discord] <tenkawa42> yeah...
<DC-IRC>
[Discord] <tenkawa42> only found one usb3 out there and its overpriced
<DC-IRC>
[Discord] <Tonymac32> Radxa had the right idea going with a 3rd connector, but they were too conservative I think
<DC-IRC>
[Discord] <Tonymac32> well the single lane of PCIe is getting used up to give you that USB 3 if it's true to the standard
<DC-IRC>
[Discord] <Tonymac32> I want to build a carrier board, am designing one in fact,
<DC-IRC>
[Discord] <Tonymac32> but it's stupid, it is basically useless because there's nothing even pretending to be proper high speed IO on that thing
<DC-IRC>
[Discord] <Tonymac32> "I built a drag car but stuck a 212 CC Harbor Freight single cylinder engine in it"
<DC-IRC>
[Discord] <tenkawa42> yeah, I've read the one they are building for the 5 is going to be much different
<DC-IRC>
[Discord] <tenkawa42> Surprised rockchip still doesn't have many Soms
<DC-IRC>
[Discord] <Tonymac32> orrrr, a more apt analogy: "Here is a 500 ci big block breathing through a lawn mower carbuerator"
<DC-IRC>
[Discord] <tenkawa42> do they have any?
<DC-IRC>
[Discord] <Tonymac32> all the radxa ones are Rockchip
<DC-IRC>
[Discord] <Tonymac32> I've found a few more here and there
<DC-IRC>
[Discord] <Tonymac32> the FE guys have one
<DC-IRC>
[Discord] <tenkawa42> Ah radxa does have some now finally?
<DC-IRC>
[Discord] <Tonymac32> firefly has a couple
<DC-IRC>
[Discord] <Tonymac32> well the Radxa is the CM3
<DC-IRC>
[Discord] <Tonymac32> it a 3566
<DC-IRC>
[Discord] <Tonymac32> pine too
<DC-IRC>
[Discord] <Tonymac32> the pro is different footprint, but 3568
<DC-IRC>
[Discord] <tenkawa42> ah.. I wasn't sure if those "became a reality"
<DC-IRC>
[Discord] <tenkawa42> I read a lot of delays
<DC-IRC>
[Discord] <Tonymac32> I don't have one but I have seen where you can get them, at least the slow 3566 one
<DC-IRC>
[Discord] <Tonymac32> the cluster board Lane is working with is a 10 node RK3399 SoM cluster
<DC-IRC>
[Discord] <tenkawa42> nice
<DC-IRC>
[Discord] <Tonymac32> but Firefly SoM's are insanely expensive
<DC-IRC>
[Discord] <Tonymac32> so are FE ones
<DC-IRC>
[Discord] <tenkawa42> Almost everything Firefly costs a fortune
<DC-IRC>
[Discord] <Tonymac32> it's cheaper to buy the full board and just deal with it being packaged suboptimally than it is to get the SoM
<DC-IRC>
[Discord] <tenkawa42> They are up there with Khadas