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> <infinity_q> I'll try that when I can tether my phone to it for internet
<DC-IRC> <infinity_q> and wait an eternity for it to cloe
<DC-IRC> <infinity_q> clone
<DC-IRC> <amazingfate> What kind of Ethernet, gamc or pcie?
<DC-IRC> <infinity_q> opi5+ I'm not sure what it is
<DC-IRC> <infinity_q> I haven't looked at the io schematic
<DC-IRC> <amdbartek> Hey, I don't know if this is the place to ask but I am experiencing a weird issue with my Rock Pi 4 SE running Armbian. Only 2GB of RAM is accessible on my 4GB board.
<DC-IRC> <amdbartek> Here's what I tried so far:
<DC-IRC> <amdbartek> - Re-installing (tried both Ubuntu Jammy and Debian Bookworm builds)
<DC-IRC> <amdbartek> - Updating "board firmware" using `armbian-config`
<DC-IRC> <amdbartek> - Flipping the little white switch on the board
<DC-IRC> <amdbartek> - Updating the system (`sudo apt update; sudo apt upgrade`)
<DC-IRC> <amdbartek> - Tried switching to the Linux 5.x kernel (did nothing good except break WiFi)
<DC-IRC> <amdbartek> Literally only 2GB shows in `/proc/meminfo`. It was working fine before.
<DC-IRC> <amdbartek> Got the images from this page: https://www.armbian.com/rockpi4/
<DC-IRC> <amdbartek> When replying, please mention me so I can respond quicker.
<DC-IRC> <amdbartek> (moved question from #ID:857944478269702214 to here, my bad)
<DC-IRC> <tenkawa42> @amdbartek did you try these? https://armbian.chi.auroradev.org/dl/rockpi-4b/archive/ if you notice the page it notes: For Model SE, use the Model B builds here.
<DC-IRC> <tenkawa42> that was one one of the redir links.. the main link is: https://redirect.armbian.com/rockpi-4b/
<DC-IRC> <tenkawa42> They are newer 6.x builds
<DC-IRC> <amdbartek> Yeah I did, 6.x has same issue
<DC-IRC> <tenkawa42> so the free cmd shows 2 gb as well?
<DC-IRC> <tenkawa42> That is very odd
<DC-IRC> <amdbartek> yeah, Let me get the Pi up and I'll send screenshots
<DC-IRC> <infinity_q> any funnyness in dmesg?
<DC-IRC> <tenkawa42> @infinity_q yeah thats where I was going next
<DC-IRC> <amdbartek> Let's see. Booting it up rn
<DC-IRC> <amdbartek> yeah, what should I look for in dmesg?
<DC-IRC> <tenkawa42> hmmm thats even very low for 4gb
<DC-IRC> <tenkawa42> that's like a very high cma allocation
<DC-IRC> <tenkawa42> do a dmesg | grep Memory and look for a line like this
<DC-IRC> <tenkawa42> [ 0.000000] Memory: 8145176K/8388608K available (7681K kernel code, 5313K rwdata, 8192K rodata, 2211K init, 511K bss, 243432K reserved, 0K cma-reserved)
<DC-IRC> <lanefu> Reminds of the batch of tinkerboard 2's with crappy ram that needed updated ddr blobs to train n sruff
<DC-IRC> <amdbartek> I see the CMA reserved value seems suspicious
<DC-IRC> <tenkawa42> @lanefu yeah its almost like it needs specificly set addresses
<DC-IRC> <tenkawa42> @amdbartek not necessarily... this is another one that uses cma
<DC-IRC> <tenkawa42> [ 0.000000] Memory: 7581688K/8386560K available (8228K kernel code, 6968K rwdata, 4096K rodata, 2172K init, 332K bss, 542728K reserved, 262144K cma-reserved)
<DC-IRC> <tenkawa42> but its free still shows 8gb
<DC-IRC> <lanefu> On a board that doesn't support 8gb
<DC-IRC> <tenkawa42> I wonder if the u-boot isn't passing the full ram address through
<DC-IRC> <lanefu> @amdbartek what image does it work correctly
<DC-IRC> <amdbartek> This really has stumped me for a while, really not sure what to do. arm boards are not my area of expertise whatsoever.
<DC-IRC> <amdbartek> and for the image that worked, I'm not sure but it was one with a 5.x kernel where wifi worked
<DC-IRC> <amdbartek> when using `armbian-config` and switching to kernel 5.x it still has the issue on these current images though
<DC-IRC> <amdbartek> when using `armbian-config` and switching to kernel 5.x it still has the issue on these current images though (with an added bonus of breaking WiFi)
<DC-IRC> <amdbartek> Armbian image, not Radxa should have clarified. I'm talking about Armbian alone
<DC-IRC> <lanefu> Really need to know what image did work
<DC-IRC> <amdbartek> I should point out, it was 2.4 ~ GB before. Now 2.9 GB shows.
<DC-IRC> <lanefu> DDR blobs could be updated I suppose
<DC-IRC> <amdbartek> No problem, I can test. Where are old images?
<DC-IRC> <lanefu> You've never had 4gig
<DC-IRC> <amdbartek> Hmm, it was a bit more than right now though.
<DC-IRC> <amdbartek> Should I try building Armbian myself? (I see that the build tool supports cross compiling luckily)
<DC-IRC> <amazingfate> connect to serial console and see if the ddr init(the first few lines at boot) detect the correct memory
<DC-IRC> <amdbartek> Would I need a special serial cable? Like USB serial? If so, I don't have one but I can order one if it's important
<DC-IRC> <amazingfate> You need a ttl to usb cable.
<DC-IRC> <tenkawa42> I always recommend having one
<DC-IRC> <tenkawa42> I have "a few" lol
<DC-IRC> <Tonymac32> ugh those blue ones
<DC-IRC> <amdbartek> Is this okay?
<lanefu> blob repo kinda looks like it needs to be updated in general https://github.com/armbian/rkbin/pull/13/files
<DC-IRC> <Tonymac32> I have 3-4, know where 1 is
<DC-IRC> <Tonymac32> lol
<lanefu> i buy the 5 packs on amazon lol
<DC-IRC> <tenkawa42> @mackahan hey.. the blue adafruit ones work great
<DC-IRC> <Tonymac32> same aliexpress stuff
<DC-IRC> <tenkawa42> yeah but I can get these 5 miles away
<DC-IRC> <Tonymac32> microcenter is a ways away for me
<DC-IRC> <Tonymac32> so it's all the same
<DC-IRC> <tenkawa42> muhaahaahaa
<DC-IRC> <amdbartek> In the UK there's no good tech stores sadly
<DC-IRC> <tenkawa42> @amdbartek yeah when I was working in Guernsey I felt that pain
<DC-IRC> <Tonymac32> we used to have crappy tech stores all over, in Radioshack
<DC-IRC> <Tonymac32> but even those are gone
<DC-IRC> <amdbartek> Yeah, it sucks, and Is this thing okay btw? I don't wanna order a piece of junk lol
<DC-IRC> <Tonymac32> yes
<DC-IRC> <Tonymac32> siLabs uarts are solid
<DC-IRC> <tenkawa42> I thought cp2102 was one of the ok ones but I wanted @mackahan to respond
<DC-IRC> <Tonymac32> I've designed around them actually
<DC-IRC> <Tonymac32> the one I have on my desk is an Adafruit-branded FTDI
<DC-IRC> <Tonymac32> but in general CP2102, CH443, FTDI are all solid
<DC-IRC> <Tonymac32> erm CH340
<DC-IRC> <Tonymac32> sorry
<lanefu> @ambdbartek: building an image for you to try
<DC-IRC> <amdbartek> ty
<DC-IRC> <amdbartek> and, time to wait. It's 03:09 here in the UK. I cannot sleep haha
<DC-IRC> <Tonymac32> haha
<DC-IRC> <Tonymac32> I sleep by 2:00
<DC-IRC> <tenkawa42> I'm surprised I haven't falled over yet (and its only 10 pm here)... I am "not" a night person
<DC-IRC> <tenkawa42> I am usually awake at 5 - 5:30 am lol
<DC-IRC> <tenkawa42> I'm surprised I haven't fallen over yet (and its only 10 pm here)... I am "not" a night person
<DC-IRC> <amdbartek> I am essentially nocturnal haha. my sleep schedule is now random cause I'm waiting for my next college course to start lol
<DC-IRC> <tenkawa42> heheh yeah too long ago to remember lol
<DC-IRC> <amdbartek> Heh, and I actually didn't even notice this RAM issue until I started to compile PrismLauncher. It worked on an older build of Armbian but this time it kept freezing. Checked memory and there it was - like 2~ gigs
<DC-IRC> <tenkawa42> @mackahan hey... have you come across any good tools to analyze dts source and "compare" two source files very well ?
<DC-IRC> <tenkawa42> (besides diff.. I need something more schema based)
<DC-IRC> <Tonymac32> I feel like there must be a tool for this, but I more or less diff them
<DC-IRC> <Tonymac32> there are checks to work against the yaml schemas' but I don't know dts to dts
<lanefu> uploading now
<DC-IRC> <tenkawa42> these 2 jh7110 boxes I know must have just something small different... just need to figure out what
<DC-IRC> <amdbartek> alrighty, will flash as soon as I can download it
<lanefu> build log here: https://paste.next.armbian.com/atowefopov hopefully i got the blob the right
<DC-IRC> <amdbartek> Thanks! Downloading
<lanefu> forgot to enable debug in the logs so I can't see if the blobs worked
<lanefu> lol
<DC-IRC> <amdbartek> oops, well it's flashing. took me a while to find my reader
<DC-IRC> <lanefu> @mackahan yeah armbain's copy of this stuff is way behind.. newes rk3399--933mhzi is 1.25 https://github.com/rockchip-linux/rkbin/tree/master/bin/rk33
<DC-IRC> <amdbartek> Also minor nitpick, but Vulkan doesn't seem to work on Armbian and apparently RK3399-T supports it. Doesn't really matter but would be nice to have.
<DC-IRC> <amdbartek> Is it because it's using Mesa Panfrost driver?
<DC-IRC> <lanefu> all that stuff is a moving target, an -edge kernel will probalby have neweer panfrost, and then the gpu nerds builds their own mesa
<DC-IRC> <lanefu> and that makes me sound like i know what i'm talking about. i def don't
<DC-IRC> <amdbartek> oh and that image flashed. gonna boot it rn
<DC-IRC> <amdbartek> finally inserted the SD card via the small opening in the case - booting
<DC-IRC> <Tonymac32> yeah I'm checking up on it
<DC-IRC> <Tonymac32> we need to clean in general
<DC-IRC> <Tonymac32> we're at 1.16, but we also have blobs that don't exist 😄
<DC-IRC> <Tonymac32> likely vendor-specific
<DC-IRC> <amdbartek> Right, image does not seem to be booting. Stuck on the green light (which is very bright unfortunately)
<DC-IRC> <lanefu> lol
<DC-IRC> <lanefu> @amdbartek building final hail mary pass
<DC-IRC> <Tonymac32> 4b?
<DC-IRC> <amdbartek> 4 SE, comes up as 4 B
<DC-IRC> <Tonymac32> hmmmmm
<DC-IRC> <Tonymac32> what blob did you use lane
<DC-IRC> <Tonymac32> also a personal gripe, why the hell is Radxa Rock 4 like opening up a bag of skittles
<DC-IRC> <Tonymac32> too many variants
<DC-IRC> <amdbartek> haha
<DC-IRC> <tenkawa42> @mackahan because its Radxa?
<DC-IRC> <amdbartek> new to SBCs, was confused what to get lol
<DC-IRC> <tenkawa42> doesn't that explain many things?
<DC-IRC> <lanefu> @mackahan i'm trying latest and greatest out of their repo now.... previously i just moved from 1.20 to 1.25
<DC-IRC> <tenkawa42> @mackahan because its Rockchip?
<DC-IRC> <Tonymac32> looks like 1.28 is the magic one for the -T
<DC-IRC> <tenkawa42> Rockchip
<DC-IRC> <lanefu> it's like OKDO having realyl good marketing budget and also being a UK company influenced you
<DC-IRC> <tenkawa42> Rockchip just is a free for all with being used by so mamy vendors
<DC-IRC> <Tonymac32> nah if being UK proud did it he'd be using a Pi
<DC-IRC> <Tonymac32> XD
<DC-IRC> <lanefu> HAHAHAH
<DC-IRC> <amdbartek> Was gonna get a Pi, and came across the Rock Pi which induced a few headaches ngl
<DC-IRC> <amdbartek> Was gonna get a Pi, and came across the Rock Pi which induced a few headaches ngl - I just saw benchmarks and bought it
<DC-IRC> <Tonymac32> eh, in all honestly it might run blobless
<DC-IRC> <Tonymac32> we haven't tried ATF in a minute
<DC-IRC> <Tonymac32> something Pi will never accomplish out of their own greed and poor SoC choice
<DC-IRC> <lanefu> i'll shw you my config diff in a sec tony
<DC-IRC> <tenkawa42> I'd like Broadcom if I didn't have such a history with them on the business side....
<DC-IRC> <lanefu> @amdbartek new image uploading
<DC-IRC> <Tonymac32> pure rubbish
<DC-IRC> <Tonymac32> 😄
<DC-IRC> <tenkawa42> @mackahan Questionable licensing strategy too...
<DC-IRC> <Tonymac32> hey, it's only a Microsoft firmware
<DC-IRC> <Tonymac32> 🙂
<DC-IRC> <lanefu> ```
<DC-IRC> <lanefu> lane@rick5b:~/GIT/build$ diff config/boards/rockpi-4b.csc userpatches/config/boards/rockpi-4b.csc
<DC-IRC> <lanefu> 13c13,15
<DC-IRC> <lanefu> < DDR_BLOB="rk33/rk3399_ddr_933MHz_v1.20.bin"
<DC-IRC> <lanefu> ---
<DC-IRC> <lanefu> > RKBIN_GIT_URL="https://github.com/rockchip-linux/rkbin.git"
<DC-IRC> <lanefu> > BL31_BLOB="bin/rk33/rk3399_bl31_v1.36.elf"
<DC-IRC> <lanefu> > DDR_BLOB="bin/rk33/rk3399_ddr_933MHz_v1.30.bin"
<DC-IRC> <lanefu> ```
<DC-IRC> <tenkawa42> @amdbartek @lanefu good luck with the image...
<DC-IRC> <tenkawa42> Cheers all
<DC-IRC> <tenkawa42> be back tomorrpw
<DC-IRC> <tenkawa42> be back tomorrow
<DC-IRC> <Tonymac32> if it's ddr-init that will do it
<DC-IRC> <amdbartek> alr, downloading
<DC-IRC> <lanefu> his probably smells identical to my TB2 woes.. with varying amounts of ram on boots etc
<DC-IRC> <lanefu> *problem
<DC-IRC> <Tonymac32> possible
<DC-IRC> <lanefu> and OKDO being newer production runs blah blah
<DC-IRC> <lanefu> @amdbartek is there a date or revision stamped on your board? no worries if its in a case
<DC-IRC> <amdbartek> Just took it out of the case, my fat fingers didn't fit in the SD card hole
<DC-IRC> <amdbartek> lmao
<DC-IRC> <amdbartek> where should I look?
<DC-IRC> <lanefu> lol
<DC-IRC> <lanefu> i dunno
<DC-IRC> <lanefu> all over
<DC-IRC> <lanefu> lol
<DC-IRC> <amdbartek> huge heatsink on the bottom, but I can take it off, no problem
<DC-IRC> <lanefu> meh not worth teh suffering
<DC-IRC> <amdbartek> u sure?
<DC-IRC> <lanefu> ya
<DC-IRC> <lanefu> just gonna be annectdotal info for now
<DC-IRC> <amdbartek> alrighty. It's flashing btw
<DC-IRC> <Tonymac32> I'm go on a holy crusade and try TF-A on everything again. 😄
<DC-IRC> <lanefu> TF-A and SPI uboot and UEFI go all in
<DC-IRC> <Tonymac32> make "Cleanbian" images
<DC-IRC> <Tonymac32> XD
<DC-IRC> <amdbartek> lol, no proprietary blobs?
<DC-IRC> <Tonymac32> correct
<DC-IRC> <lanefu> `enable_extension "clean_living"`
<DC-IRC> <Tonymac32> well, none in the boot anyway, wifi/bt/etc it can't be helped
<DC-IRC> <Tonymac32> 🤔
<DC-IRC> <amdbartek> yeah, but blobless boot is still interesting
<DC-IRC> <Tonymac32> I did it on a few boards, hilariously it was the Radxa ones that didn't like it
<DC-IRC> <Tonymac32> the low RAM variants
<DC-IRC> <amdbartek> L4T ported Coreboot to the Nintendo Switch (Tegra X1), I'm pretty sure
<DC-IRC> <lanefu> man i was reading about that chip the other night
<DC-IRC> <lanefu> and like the first generation of it had a bank of 4 extra A53 cores.. and it was like you cuold use the primary cores or the 2ndary but not both
<DC-IRC> <lanefu> so they were just sitting there inactive
<DC-IRC> <lanefu> lol
<DC-IRC> <amdbartek> yeah, also, I just flashed the SD card and put it in and it's stuck on the green light
<DC-IRC> <amdbartek> I'm assuming I did smth wrong
<DC-IRC> <Tonymac32> hmmmmm
<DC-IRC> <Tonymac32> maybe not
<DC-IRC> <lanefu> it's not you its them
<DC-IRC> <Tonymac32> ha
<DC-IRC> <lanefu> but yeah need TTL console logs to move further along
<DC-IRC> <amdbartek> R*dxa
<DC-IRC> <amdbartek> So we gotta wait for the cable?
<DC-IRC> <lanefu> yeah unless @mackahan has some wild suggestion for my config file
<DC-IRC> <amdbartek> I'm clueless about ARM stuff personally haha, got no clue what's going on
<DC-IRC> <Tonymac32> I'm not completely sure, I'm trying to straighten out the blobs first
<DC-IRC> <Tonymac32> and realize we are almost 2 years old on the ARM TF-A
<DC-IRC> <Tonymac32> they are on LTS 2.8.2
<DC-IRC> <Tonymac32> we've got 2.6
<DC-IRC> <Tonymac32> I think the last one I tried was 2.3
<DC-IRC> <Tonymac32> it successfully pulled the blob using the git magic?
<DC-IRC> <lanefu> @mackahan yep cuz it puked when i didn't change the path to `bin/rk33/`
<DC-IRC> <lanefu> `--> (3) DEBUG: calculate_hash_for_variables normalized [ 0 BL31=/cache/sources/rkbin-tools/bin/rk33/rk3399_bl31_v1.36.elf idbloader.img u-boot.itb;;idbloader.img u-boot.itb tpl/u-boot-tpl.bin spl/u-boot-spl.bin u-boot.itb rkspi_loader.img tpl-spl-blob yes rk3399 bin/rk33/rk3399_ddr_933MHz_v1.30.bin bin/rk33/rk3399_bl31_v1.36.elf rk33/rk3399_miniloader_v1.26.bin no <clipped message>
<DC-IRC> <lanefu> atf-rockchip64 ]`
<DC-IRC> <Tonymac32> the rockchip64-common is such a mess
<DC-IRC> <Tonymac32> I don't know that it needs the elf
<DC-IRC> <Tonymac32> "tpl-spl-blob"
<DC-IRC> <lanefu> switch to spl-blob?
<DC-IRC> <Tonymac32> hmm, I'm trying to figure it out
<DC-IRC> <Tonymac32> since we haven't seen Piotr in forever and he organized this
<DC-IRC> <lanefu> hmmm does 4 SE have SPI?
<DC-IRC> <Tonymac32> I don't see it in the board schematic
<DC-IRC> <Tonymac32> but those are always a little dodgy
<DC-IRC> <Tonymac32> it shouldn't matter unless it has trash on it
<DC-IRC> <lanefu> trying blobless for grins
<DC-IRC> <lanefu> with just the standard armbain junk
<DC-IRC> <Tonymac32> wait a minute
<DC-IRC> <Tonymac32> # - tpl-spl-blob: uses mainline u-boot TPL and SPL with proprietary rockchip ATF blob
<DC-IRC> <Tonymac32> so it shouldn't be using the ddrbin
<DC-IRC> <Tonymac32> :/
<DC-IRC> <Tonymac32> # - spl-blobs: proprietary rockchip ddrin and ATF, but uses mainline u-boot SPL in place of rockchip miniloader
<DC-IRC> <Tonymac32> so maybe try spl-blobs
<DC-IRC> <lanefu> k, it puked on spl blobs when i provided the updated ddrbin but lemme finish this blobless attempt
<DC-IRC> <Tonymac32> we need to put these board confs into folders by vendor 😄
<DC-IRC> <Tonymac32> it's getting ridiculous
<DC-IRC> <Tonymac32> and we need to move all this debris out of family files into the board confs, the attempt at unifying things just made it worse
<DC-IRC> <Tonymac32> so if a Rock4 or a Pine64 doesn't play nice it gets left behind on its own until someone decides to love it and it doesn't hurt anything else
<DC-IRC> <lanefu> yeah punchline is half the board confs (rockpi-4b.csc included) already overridr teh DDRbin
<DC-IRC> <lanefu> but yes to your point
<DC-IRC> <Tonymac32> exactly
<DC-IRC> <lanefu> also putting conditioners in the common include file lol
<DC-IRC> <Tonymac32> and calling the file "common is hilarious when it's 10 billion switch/case and if-thens
<DC-IRC> <lanefu> yes
<DC-IRC> <lanefu> lol
<DC-IRC> <lanefu> slowest part of this process is compresing withh xz
<DC-IRC> <Tonymac32> they have "rk3" common, that's it
<DC-IRC> <Tonymac32> 😄
<DC-IRC> <amdbartek> alright, I'll give it a shpt
<DC-IRC> <amdbartek> alright, I'll give it a shot
<DC-IRC> <lanefu> @mackahan pro-tip `spl-blobs` works better than `spl-blob` 🤦‍♂️
<DC-IRC> <amdbartek> flashing
<DC-IRC> <amdbartek> flashing (needa get better faster sd card)
<DC-IRC> <lanefu> yeah i buy 64gig cards just for speed
<DC-IRC> <amdbartek> Once I get everything sorted I'll probably get a really good one but for now, it shouldn't matter
<DC-IRC> <amdbartek> ok, this one does not boot either sadly
<DC-IRC> <Tonymac32> likely it was the same ddr code on all 3
<DC-IRC> <Tonymac32> this one should at least be different 😄
<DC-IRC> <amdbartek> flashing
<DC-IRC> <Tonymac32> maybe @RadxaYuntian can take a look at it since these are in the wild
<DC-IRC> <amdbartek> ok, so steam library is gone. ffs, flashed to `/dev/sda` (SSD) instead of `/dev/sde` (SD card reader)
<DC-IRC> <Tonymac32> 😐
<DC-IRC> <lanefu> oh lord
<DC-IRC> <amdbartek> all important data is on nvme drives including OS so that kinda saved me
<DC-IRC> <lanefu> i did that once with my mp3 collection
<DC-IRC> <amdbartek> I'm just glad it wasn't my nvme drives. Nothing of value lost, just gotta redownload. I backed up my saves
<DC-IRC> <lanefu> yeah close call
<DC-IRC> <lanefu> glad just a cache drive
<DC-IRC> <lanefu> i use balena etcher cuz its a little better about keeping u safe from that
<DC-IRC> <amdbartek> might do. I just piped `xzcat` into `dd` :/
<DC-IRC> <lanefu> yeah... i recommend
<DC-IRC> <lanefu> also whats your full dd command
<DC-IRC> <amdbartek> `xzcat lanefu_23.08.0-trunk_Rockpi-4b_bookworm_current_6.1.45-spl-blobs-1.35.img.xz | sudo dd of=/dev/sde status=progress`
<DC-IRC> <lanefu> def add `conv=fsync` to the dd part
<DC-IRC> <amdbartek> alright, should I reflash?
<DC-IRC> <lanefu> yeah lets eliminate the sync variable
<DC-IRC> <amdbartek> typed `sync` and then used `eject`, should be good?
<DC-IRC> <lanefu> yeah
<DC-IRC> <amdbartek> YEP!
<DC-IRC> <amdbartek> It's booting
<DC-IRC> <amdbartek> I knew when my mouse lights turned on
<DC-IRC> <amdbartek> yeah, blue light flashing and log on screen. works
<DC-IRC> <amdbartek> resizing filesystem
<DC-IRC> <lanefu> ```
<DC-IRC> <lanefu> lane@rick5b:~/GIT/build$ diff config/boards/rockpi-4b.csc userpatches/config/boards/rockpi-4b.csc
<DC-IRC> <lanefu> 11c11
<DC-IRC> <lanefu> < BOOT_SCENARIO="tpl-spl-blob"
<DC-IRC> <lanefu> ---
<DC-IRC> <lanefu> > BOOT_SCENARIO="spl-blobs"
<DC-IRC> <lanefu> 13c13,15
<DC-IRC> <lanefu> < DDR_BLOB="rk33/rk3399_ddr_933MHz_v1.20.bin"
<DC-IRC> <lanefu> ---
<DC-IRC> <lanefu> > RKBIN_GIT_URL="https://github.com/rockchip-linux/rkbin.git"
<DC-IRC> <lanefu> > BL31_BLOB="bin/rk33/rk3399_bl31_v1.36.elf"
<DC-IRC> <lanefu> > DDR_BLOB="bin/rk33/rk3399_ddr_933MHz_v1.30.bin
<DC-IRC> <lanefu> ```
<DC-IRC> <amdbartek> ok gonna set u[
<DC-IRC> <amdbartek> ok gonna set up
<DC-IRC> <amdbartek> looks good to me. shit photo cause flash fired in a dark room
<DC-IRC> <amdbartek> so, for now, can I use this image or does it have any catches?
<DC-IRC> <amdbartek> `Memory: 169MiB / 3863MiB`
<DC-IRC> <amdbartek> Nice. Seems to be working
<DC-IRC> <lanefu> Nice
<DC-IRC> <lanefu> Will need to reconfigure time zone and locale
<DC-IRC> <amdbartek> I usually do connect to WiFi so it does it, the setup screen came up
<DC-IRC> <amdbartek> Is this image fine to use for now? Like if I install a DE? Also, I appreciate this a lot, ty
<DC-IRC> <lanefu> glad it worked!
<DC-IRC> <lanefu> @mackahan and the best part is I changed 2 things at once so we don't exactly know what fixed what lol
<DC-IRC> <Tonymac32> considering the ddrbin change to support the -T is newer than the ATF, I think it's clear
<DC-IRC> <amdbartek> So will this specific build be fine for desktop once a DE is installed (and configured)?
<DC-IRC> <Tonymac32> kernel and everything is normal, should be fine as long as you're comfortable setting up the DE
<DC-IRC> <Tonymac32> the only difference is the bootloader
<DC-IRC> <amdbartek> yeah, all that stuff is fine. An `apt` update won't like mess with the bootloader no?
<DC-IRC> <Tonymac32> no, we made that require direct user intervention a while back
<DC-IRC> <amdbartek> Nice! I appreciate this a lot! Assuming this will eventually make its way into regular builds?
<DC-IRC> <Tonymac32> yeah, if Lane PR's it or I do, either way. I would like this to have it's own board config, but *shrugs*
<DC-IRC> <amdbartek> The SE?
<DC-IRC> <Tonymac32> yeah
<DC-IRC> <amdbartek> Just in-case, in `neofetch` it comes up as `Radxa ROCK Pi 4B`
<DC-IRC> <lanefu> Yeah makes sense for separate CSC for SE for hygiene
<DC-IRC> <lanefu> Yeah uboot doesn't know anybody better
<DC-IRC> <lanefu> Yeah uboot doesn't know any better
<DC-IRC> <amdbartek> Not an issue whatsoever, just wanted to point it out
<DC-IRC> <lanefu> Will figure out PR stuff tomorrow. Time for me to crash
<DC-IRC> <amdbartek> Alright, thanks a lot once again! It's 05:14 here in the UK and the Rock Pi's green light is lighting up my room (literally)
<DC-IRC> <Tonymac32> *watches the sun rise*
<DC-IRC> <amdbartek> *hears birds chirping*
<DC-IRC> <Tonymac32> yeah that green light is only second to the blue one on the MQMaker Miqi
<DC-IRC> <Tonymac32> that was egregious
<DC-IRC> <lanefu> It's a shame there's no waffle House in the UK
<DC-IRC> <amdbartek> That green light is brighter than my future wtf
<DC-IRC> <Tonymac32> why? so they can fight someone?
<DC-IRC> <lanefu> Lol
<DC-IRC> <lanefu> 5am is past most of the fighting
<DC-IRC> <amdbartek> I close my eyes and all I see is that green LED burned into my vision temporarily
<DC-IRC> <Tonymac32> Tudor's Biscuit World FTW
<DC-IRC> <lanefu> Mr. T with an Egg
<DC-IRC> <Tonymac32> I'm too far into the snow belt for those now
<DC-IRC> <Tonymac32> when I was in West Virginia, the homeland, it was easy
<DC-IRC> <Tonymac32> 😄
<DC-IRC> <lanefu> They are ONLY in WV
<DC-IRC> <lanefu> It's amazing
<DC-IRC> <lanefu> I haven't detoured tons Tudor's in a long time
<DC-IRC> <Tonymac32> Ohio has a couple apparently
<DC-IRC> <lanefu> Yeah sure they do
<DC-IRC> <Tonymac32> gotta get the word out and some of the good old boys in town might open one 😄 😄
<DC-IRC> <lanefu> Just like there's one inside at Tamarack
<DC-IRC> <lanefu> Market, WV was my first Tudor's
<DC-IRC> <lanefu> Marmet, WV was my first Tudor's
<DC-IRC> <Tonymac32> Morgantown was mine, it was a new location back then
<DC-IRC> <Tonymac32> now I'm hungry
<DC-IRC> <Tonymac32> great
<DC-IRC> <amdbartek> Alright, imma go for now. Pretty late. Or in this case, early haha
<DC-IRC> <Tonymac32> testing rockpro64 with LTS 2.8 TF-A
javabean has quit [Ping timeout: 246 seconds]
javabean has joined #armbian-rockchip
<DC-IRC> <lanefu> Lessons learned last night
<DC-IRC> <lanefu> * Need fresher blobs
<DC-IRC> <lanefu> * Rock 4 SE different enough it's best to have it's own config
<DC-IRC> <lanefu> * Tony wants to update ATF and try it on things again
<DC-IRC> <igorpec> 7th version of rockpi ?
<DC-IRC> <igorpec> or 17 🙂
<DC-IRC> <lanefu> Factor in board revisions and probably closer to 17 lol
<DC-IRC> <lanefu> And okdo's is Rock 4SE rather than rockpi 4 like raxda
<DC-IRC> <tenkawa42> Sounds like that board "was" quite a bit different
<DC-IRC> <rpardini> ODROID-M1, de-infested from Petitboot...
<DC-IRC> <rpardini> https://github.com/armbian/build/pull/5600 (incl testing image)
<DC-IRC> <rpardini> with the awesome 3566/3568 u-boot work by @kwiboo
<DC-IRC> <rpardini> even got stable MAC address now 👍
<DC-IRC> <kwiboo> @rpardini you should not really need preboot command to enum/scan usb/pci/nvme with u-boot standard boot, pci/nvme/usb should initialize automatically when it gets too a device that require it it in boot_targets
<DC-IRC> <kwiboo> possible preboot command could be needed if your boot script depend on it, else there may be a bug in u-boot that we should fix
<DC-IRC> <kwiboo> or maybe you just want it for debug information when user report issues ? 🙂
<DC-IRC> <rpardini> Yeah I added for debug info, indeed. I'm still catching up to the recent-ish changes to distro boot.
<DC-IRC> <rpardini> I also tried to enable UMS, but failed, it complains about DWC3.... `ums 0 nvme 1` would be absolutely awesome.
<DC-IRC> <rpardini> Either way great work!!!
<DC-IRC> <lanefu> UMS all the things!
<DC-IRC> <kwiboo> For usb gadget you need `CONFIG_DM_USB_GADGET=y` and `CONFIG_DM_USB_GADGET=y`, nothing I have tested but without both options enabled it will not work and try to write to rk3399 dwc3 reg addr
<DC-IRC> <kwiboo> `CONFIG_DM_USB_GADGET=y` and ` CONFIG_USB_GADGET=y`
<DC-IRC> <kwiboo> also the `rk3568-2023.10-gmac` branch is no longer a gmac topic branch, my main `rk3568-2023.10` branch also contain all gmac patches, the `gmac` branch will go away once I have posted gmac+io-domain v2 patches later this week/weekend
<DC-IRC> <rpardini> Thanks for the tips. I _think_ I did both `DM_USB_GADGET` and `USB_GADGET`, but not sure, will try again.
<DC-IRC> <rpardini> I've pointed to a specific SHA1 (still in the gmac branch though, GitHub will eventually gc it if you delete the ref) , I will revisit from your `rk3568-2023.10` branch soon.