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
arch3r has quit [Ping timeout: 272 seconds]
arch3r has joined #armbian
crabbedhaloablut has quit []
montjoie has quit [Ping timeout: 255 seconds]
montjoie has joined #armbian
DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian
jclsn has quit [Ping timeout: 240 seconds]
jclsn has joined #armbian
<DC-IRC> <jorropo> Hey I need some help, I have a really weird issue, on my VisionFive2 only half of the ram shows up.
<DC-IRC> <jorropo> It is supposed to be an 8Gb model but can only see 4. Never seen this before except with a poorly sited ram stick, but this has soldered on ram.
<DC-IRC> <jorropo> This isn't some weird caching setup that armbian does right ? Sounds like a defect.
<DC-IRC> <jorropo> ```console
<DC-IRC> <jorropo> # free -m -h
<DC-IRC> <jorropo> total used free shared buff/cache available
<DC-IRC> <jorropo> Mem: 3.8Gi 84Mi 3.5Gi 8.0Mi 218Mi 3.7Gi
<DC-IRC> <jorropo> Swap: 0B 0B 0B
<DC-IRC> <jorropo> ```
<DC-IRC> <jorropo> Hey I need some help, I have a really weird issue, on my VisionFive2 only half of the ram shows up.
<DC-IRC> <jorropo> It is supposed to be an 8Gb model but can only see 4. Never seen this before except with a poorly sited ram stick, but this has soldered on ram.
<DC-IRC> <jorropo> This isn't some weird caching setup that armbian does ? I'm not going crazy, sounds like a defect ?
<DC-IRC> <jorropo> ```console
<DC-IRC> <jorropo> # free -m -h
<DC-IRC> <jorropo> total used free shared buff/cache available
<DC-IRC> <jorropo> Mem: 3.8Gi 84Mi 3.5Gi 8.0Mi 218Mi 3.7Gi
<DC-IRC> <jorropo> Swap: 0B 0B 0B
<DC-IRC> <jorropo> ```
buzzmarshall has quit [Quit: Konversation terminated!]
arch3r has quit [Ping timeout: 255 seconds]
arch3r has joined #armbian
junaid_ has joined #armbian
junaid_ has quit [Client Quit]
junaid_ has joined #armbian
<DC-IRC> <shivasiddharth> I finally learnt how to pronounce SUSE
junaid_ has quit [Client Quit]
junaid_ has joined #armbian
junaid_ has quit [Client Quit]
junaid_ has joined #armbian
alekksander has joined #armbian
crabbedhaloablut has joined #armbian
Herc has quit [Remote host closed the connection]
Herc has joined #armbian
junaid_ has quit [Remote host closed the connection]
junaid_ has joined #armbian
junaid_ has quit [Remote host closed the connection]
<jspiros> soo-suh?
zeemate has joined #armbian
zeemate has quit [Ping timeout: 258 seconds]
junaid_ has joined #armbian
KREYREN_ has quit [Ping timeout: 252 seconds]
marco44 has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
marco44 has joined #armbian
<DC-IRC> <tenkawa42> @jorropo still around? I can help with that
<DC-IRC> <tenkawa42> Its a dts known issue
<DC-IRC> <tenkawa42> you have to modify the dts src code and rebuild the dtb to get all the ram to show up.
<DC-IRC> <tenkawa42> Its fortunately about a 5 minute procedure
archetech has quit [Quit: Leaving]
arch3r has quit [Ping timeout: 240 seconds]
arch3r has joined #armbian
<DC-IRC> <tenkawa42> If you are using Starfive's images.. update to their newest and it should have the update (at leaast from what I'm reading)... I manually update and have a custom build .
<DC-IRC> <tenkawa42> Linux vf2 6.5.5-vf2+ #22 SMP Mon Sep 25 10:17:09 EDT 2023 riscv64 GNU/Linux
<DC-IRC> <tenkawa42> total used free shared buff/cache available
<DC-IRC> <tenkawa42> Mem: 8153592 809612 6362328 8880 1193704 7343980
arch3r has quit [Ping timeout: 258 seconds]
arch3r has joined #armbian
archetech has joined #armbian
ikmaak has quit [Quit: ikmaak]
ikmaak has joined #armbian
<yang2> tenkawa42 which OS do you have on Starfive 2?
junaid_ has quit [Remote host closed the connection]
alekksander has quit [Quit: Konversation terminated!]
arch3r has quit [Ping timeout: 255 seconds]
arch3r has joined #armbian
junaid_ has joined #armbian
junaid_ has quit [Client Quit]
junaid_ has joined #armbian
<DC-IRC> <jorropo> @tenkawa42 I was sleeping, I never touched the DTS, do you have links for what field would need to be updated here please ?
<DC-IRC> <jorropo> I'm using armbian's image
alekksander has joined #armbian
junaid_ has quit [Remote host closed the connection]
archetech has quit [Quit: Leaving]
zeemate has joined #armbian
arch3r has quit [Ping timeout: 240 seconds]
<DC-IRC> <tenkawa42> Armbian has no "supported/current" image and no current maintainer... if you are talking about the Aug 31 image that is an unsupported likely to not work correctly image
<DC-IRC> <tenkawa42> I'm pulling it to see how it was even built
<DC-IRC> <tenkawa42> yang2: my own Debian build
<DC-IRC> <jorropo> I just downloaded starfive's image
<DC-IRC> <jorropo> but I have booting issue:
<DC-IRC> <jorropo> ```
<DC-IRC> <jorropo> Loading Environment from SPIFlash... SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
<DC-IRC> <jorropo> *** Warning - bad CRC, using default environment
<DC-IRC> <jorropo> StarFive EEPROM format v2
<DC-IRC> <jorropo> --------EEPROM INFO--------
<ArmbianHelper> (translate [--from <source>] [--to <target>] <text>) -- Translate text using Google Translate API. Uses automatic language detection if source not set. No target uses the plugin default.
<DC-IRC> <jorropo> Vendor : StarFive Technology Co., Ltd.
<DC-IRC> <jorropo> Product full SN: VF7110B1-2318-D008E000-18005001
arch3r has joined #armbian
<DC-IRC> <jorropo> data version: 0x2
<DC-IRC> <jorropo> PCB revision: 0xb2
<DC-IRC> <jorropo> BOM revision: A
<DC-IRC> <jorropo> Ethernet MAC0 address: 6c:cf:39:00:b9:a0
<DC-IRC> <jorropo> Ethernet MAC1 address: 6c:cf:39:00:b9:a1
<DC-IRC> <jorropo> --------EEPROM INFO--------
<ArmbianHelper> (translate [--from <source>] [--to <target>] <text>) -- Translate text using Google Translate API. Uses automatic language detection if source not set. No target uses the plugin default.
<DC-IRC> <jorropo> In: serial@10000000
<DC-IRC> <jorropo> Out: serial@10000000
<DC-IRC> <jorropo> Err: serial@10000000
<DC-IRC> <jorropo> Model: StarFive VisionFive V2
<DC-IRC> <jorropo> Net: eth0: ethernet@16030000, eth1: ethernet@16040000
<DC-IRC> <jorropo> switch to partitions #0, OK
<DC-IRC> <jorropo> mmc1 is current device
<DC-IRC> <jorropo> found device 1
<DC-IRC> <jorropo> bootmode flash device 1
<DC-IRC> <jorropo> Failed to load 'uEnv.txt'
<DC-IRC> <jorropo> Can't set block device
<DC-IRC> <jorropo> Hit any key to stop autoboot: 0
<DC-IRC> <jorropo> 1235 bytes read in 6 ms (200.2 KiB/s)
<DC-IRC> <jorropo> Importing environment from mmc1 ...
<DC-IRC> <jorropo> Failed to load '/uEnv.txt'
<DC-IRC> <jorropo> ## Warning: defaulting to text format
<DC-IRC> <jorropo> Couldn't find partition 1:1:3 0xa0000000
<DC-IRC> <jorropo> right now it's trying IPXE afait and it is failing since I don't have IPXE setup
<DC-IRC> <tenkawa42> Careful about pasting her
<DC-IRC> <tenkawa42> er here
<DC-IRC> <jorropo> I think I should send a PR to the bot so it ignore text in code blocks
<DC-IRC> <jorropo> also discord should add spoiler support
<DC-IRC> <tenkawa42> it sees the --... code block ignoring wouldn't help
<DC-IRC> <jorropo> that is what you meant ?
<DC-IRC> <tenkawa42> dd/etcher the sdcard.img file to a microsd
<DC-IRC> <tenkawa42> and boot it
<DC-IRC> <jorropo> Yeah I etchered it
<DC-IRC> <tenkawa42> (make sure you have the dip switches right though)
buzzmarshall has joined #armbian
<DC-IRC> <tenkawa42> The VF2 has 2 dip switches that need to be set
<DC-IRC> <jorropo> oh true, they are how I left them (which is wrong according to the docs I'm trying to boot on spi but it wouldn't boot on sdcard yesterday without it)
<DC-IRC> <jorropo> and now I can hate myself because I just installed poe hat and need to unscrew it to unbury the dip switches
<DC-IRC> <tenkawa42> ouch... too bad you don't have a gpio extender
<DC-IRC> <jorropo> ok with dip switches I can see attempts to boot in uart
<DC-IRC> <tenkawa42> One combo should be the right one... (I don't have mine sitting beside me anymore... it was for weeks, i finally moved it into my server room)
<DC-IRC> <jorropo> the silk screen thankfully has the table and labels for the whole thing
<DC-IRC> <tenkawa42> hehehe
<DC-IRC> <tenkawa42> I boot from nvme now so it makes it easy
<DC-IRC> <jorropo> can you do that ?
<DC-IRC> <tenkawa42> once you get the firmware updated yes
<DC-IRC> <jorropo> I need to boot linux on the spi and then do a handoff ?
<DC-IRC> <jorropo> ohhhh I'll do that after then
<DC-IRC> <tenkawa42> One word of advice I have though... keep a small blank microsd handy... It has a mmc spin condition issue currently not fixed... I found a workaround for it by just populating the microsd slot..
<DC-IRC> <jorropo> got 8 GiB of ram using starfive's img thanks
<DC-IRC> <jorropo> I had a very similar issue on the PBP backthen.
<DC-IRC> <jorropo> GPU wouldn't start *sometimes* unless I have an sdcard plugged in.
<DC-IRC> <tenkawa42> otherwise your load average if you ever do run nvme will sit around .6 minimum at idle
<DC-IRC> <jorropo> w ? cpu ?
<DC-IRC> <tenkawa42> yeah load avg
<DC-IRC> <jorropo> is that 0.6% or 60% ?
<DC-IRC> <tenkawa42> neither
<DC-IRC> <tenkawa42> .6 cpu load
<DC-IRC> <tenkawa42> cpu is measured in a *cpu
<DC-IRC> <jorropo> yeah so 60%
<DC-IRC> <tenkawa42> not really
<DC-IRC> <jorropo> as in 100% = 1 core of usage
<DC-IRC> <jorropo> I'm a htop user, I'm not used to fractional cpu mesurements
<DC-IRC> <jorropo> htop do the exact same thing but *100
<DC-IRC> <jorropo> ¯\_(ツ)_/¯
<DC-IRC> <tenkawa42> it is useable cpu but it throws off the numbers
<DC-IRC> <tenkawa42> thats why I say the % isn't valid in this context
<DC-IRC> <jorropo> I'm not getting it sorry
<DC-IRC> <tenkawa42> You still have idle cpu... but it doesn't show it that way
<DC-IRC> <jorropo> and now I realised the starfive image doesn't have a package manager
<DC-IRC> <tenkawa42> dpkg isn't there?
<DC-IRC> <tenkawa42> or apt?
<DC-IRC> <jorropo> no
<DC-IRC> <jorropo> no
<DC-IRC> <jorropo> it also runs on 5.15 which is a bit old for me
<DC-IRC> <tenkawa42> 5.15 is all you are getting unless you know how to build mainline development
<DC-IRC> <tenkawa42> (which I am currently doing)
<DC-IRC> <jorropo> I've built linux and debootstrap before. Their readme have good docs, sounds Ilike I give it a try.
junaid_ has joined #armbian
<DC-IRC> <tenkawa42> No... what I'm saying is you have to do a mainline kernel based on a development effort.. Its not in production yet
<DC-IRC> <tenkawa42> There is no prebuilt (unless Ubuntu perhaps has built one)
<DC-IRC> <tenkawa42> The rest of the os is the easy part (in my opinion)
<DC-IRC> <tenkawa42> checking ubuntu's release now
<DC-IRC> <jorropo> the patches aren't upstreamed ? So I would need to collect them and merge them with the newer release ?
<DC-IRC> <jorropo> Anyway thx for your help, all the ram correctly shows up now
<DC-IRC> <tenkawa42> np.. Here's the most current repo from the mainline devs
<DC-IRC> <tenkawa42> I think this is the newest one
<DC-IRC> <tenkawa42> He and one other mainline dev are who I have been working with the most on this
<DC-IRC> <tenkawa42> the 6.5 branch
<DC-IRC> <tenkawa42> Linux vf2 6.5.5-vf2+ #22 SMP Mon Sep 25 10:17:09 EDT 2023 riscv64 GNU/Linux
<DC-IRC> <tenkawa42> That's what I'm running atm
<DC-IRC> <jorropo> is it a snowflake system or does it have a package manager ? 🙃
<DC-IRC> <tenkawa42> mine is a full Debian (I'm still extracting that Ubuntu image)
<DC-IRC> <tenkawa42> I unfortunately dloaded it on a slow machine (wasn't paying attention)
<DC-IRC> <tenkawa42> nice... its 6.2 kernel
<DC-IRC> <tenkawa42> may or may not have graphics though (its a server install)
archetech has joined #armbian
<DC-IRC> <tenkawa42> the GPU on the unit is extremely underwhelming....
<DC-IRC> <jorropo> I don't care about graphics, I just want an ok CPU and an spidev driver.
<DC-IRC> <tenkawa42> ls -l usr/bin/apt
<DC-IRC> <tenkawa42> -rwxr-xr-x 1 root root 15032 Mar 6 2023 usr/bin/apt
<DC-IRC> <tenkawa42> root@vf2:/ext# ls -l usr/bin/apt-get
<DC-IRC> <tenkawa42> -rwxr-xr-x 1 root root 40272 Mar 6 2023 usr/bin/apt-get
<DC-IRC> <jorropo> where did you got that ? debian only gives debootstrap instructions
<DC-IRC> <tenkawa42> cat etc/os-release
<DC-IRC> <tenkawa42> PRETTY_NAME="Ubuntu Lunar Lobster (development branch)"
<DC-IRC> <jorropo> ah ok thx
<DC-IRC> <tenkawa42> This is Ubuntu
<DC-IRC> <tenkawa42> goo here
<DC-IRC> <tenkawa42> go here
<DC-IRC> <jorropo> thx
<DC-IRC> <tenkawa42> np
<DC-IRC> <jorropo> I also dug up a nezha, I guess the armbian images aren't maintained either ?
<DC-IRC> <tenkawa42> no
<DC-IRC> <tenkawa42> nothing risc-v yet
<DC-IRC> <jorropo> what is the difference between platinium support then ?
<DC-IRC> <tenkawa42> I would offer if I had more time
<DC-IRC> <tenkawa42> I would offer if I had more ability to commit...
<DC-IRC> <tenkawa42> You'd have to ask on forum for the exact answer to that.
<DC-IRC> <jorropo> Oh the platinium support shows all platinium boards even if they aren't riscv
<DC-IRC> <tenkawa42> Yeah Armbian focuses on "ARM" mostly
<DC-IRC> <jorropo> 😄
<DC-IRC> <tenkawa42> And not even all of them (RPI's dont get a lot of support)
<DC-IRC> <jorropo> is the bootloader thing still an issue ?
<DC-IRC> <tenkawa42> bootloader?
<DC-IRC> <jorropo> I know for a while armbian didn't supported rpis due to a closed source bootloader
<DC-IRC> <jorropo> or prekernel ?
<DC-IRC> <tenkawa42> They just generally dont support rpi
jantones has joined #armbian
<DC-IRC> <jorropo> @tenkawa42 I've tried ubuntu's image and I get:
<DC-IRC> <jorropo> ```
<DC-IRC> <jorropo> dwmci_s: Response Timeout.
<DC-IRC> <jorropo> dwmci_s: Response Timeout.
<DC-IRC> <jorropo> BOOT fail,Error is 0xffffffff
<DC-IRC> <jorropo> ```
<DC-IRC> <jorropo> any idea ?
<DC-IRC> <jorropo> @tenkawa42 I've tried ubuntu's image and I get this over uart:
<DC-IRC> <jorropo> ```
<DC-IRC> <jorropo> dwmci_s: Response Timeout.
<DC-IRC> <jorropo> dwmci_s: Response Timeout.
<DC-IRC> <jorropo> BOOT fail,Error is 0xffffffff
<DC-IRC> <jorropo> ```
<DC-IRC> <jorropo> any idea ?
<DC-IRC> <tenkawa42> how did you write it to the microsd?
<DC-IRC> <jorropo> balena etcher
<DC-IRC> <jorropo> *I found in the ubuntu docs that I need to update the bootloader first
<DC-IRC> <jorropo> sorry for the ping
<DC-IRC> <jorropo> need to figure out how to do that tho
<DC-IRC> <tenkawa42> just a sec
<DC-IRC> <tenkawa42> I have that bookmarked
<DC-IRC> <jorropo> https://wiki.ubuntu.com/RISC-V/StarFive%20VisionFive%202 actually I'm not sure, afait it's newer releases that are broken ?
<DC-IRC> <jorropo> are you living riscv linux wiki or smth 😄 ?
<DC-IRC> <tenkawa42> Risc-V is my day to day...
<DC-IRC> <tenkawa42> you'll need these 2 links
<DC-IRC> <jorropo> I'm expecting to plugin some spi peripherals, have them fail to work, ping you and have you walk me through replacing the crystal oscilators 😄
<DC-IRC> <jorropo> actually wouldn't make sense since spi is master driven
<DC-IRC> <tenkawa42> that's the update procedure.... get the sdcard image from the first link and use it and throw those firmware files on it and that will save you a lot of tme
<DC-IRC> <tenkawa42> that's the update procedure.... get the sdcard image from the first link and use it and throw those firmware files on it and that will save you a lot of time
<DC-IRC> <jorropo> ok thx
<DC-IRC> <tenkawa42> its configured to be able to talk to the mtd properly
<DC-IRC> <jorropo> > You can either use the vendor U-Boot:
<DC-IRC> <jorropo> > - VisionFive2 Software v2.11.5 is known to work.
<DC-IRC> <jorropo> > - VisionFive2 Software v3.6.1 is not compatible.
<DC-IRC> <jorropo> what about 3.7 and later ?
<DC-IRC> <tenkawa42> so you can just wget/curl/etc those updates to your written image
<DC-IRC> <jorropo> @tenkawa42 do you have a github or kofi ?
<DC-IRC> <tenkawa42> Yeah
<DC-IRC> <tenkawa42> well that was annoying... Discord crashed
<DC-IRC> <tenkawa42> they work for Debian just fine
<DC-IRC> <tenkawa42> [1:21 PM]
<DC-IRC> <tenkawa42> good q... I'm not sure since I don't use Ubuntu but I'm using them so I'd "assume" those all work since you will be updating with a prebuilt image.... after that.. the u-boot goes with the image
<DC-IRC> <tenkawa42> and it "does" work with the most recent firmware
<DC-IRC> <tenkawa42> I am using the most recent on both my units here
<DC-IRC> <jorropo> if I want to boot of ssd
<DC-IRC> <jorropo> once I updated the bootloader I can just dd the sdcard image onto the nvme shutdown, remove sdcard and reboot ?
flyback has quit [Quit: Leaving]
<DC-IRC> <tenkawa42> Not sure... I never ran any of Visionfive's or Ubuntu's premade
<DC-IRC> <tenkawa42> I built my own from ground up
lord_daemon has joined #armbian
junaid_ has quit [Remote host closed the connection]
flyback has joined #armbian
<DC-IRC> <jorropo> @tenkawa42 before I brick the spi rom, `visionfive2_fw_payload.img` isn't on the download page, I guess it's `Image.gz` ungziped ?
<DC-IRC> <jorropo> ~~@tenkawa42 before I brick the spi rom, `visionfive2_fw_payload.img` isn't on the download page, I guess it's `Image.gz` ungziped ?~~
<DC-IRC> <jorropo> found the sha256sum and it isn't
<DC-IRC> <jorropo> ~~@tenkawa42 before I brick the spi rom, `visionfive2_fw_payload.img` isn't on the download page, I guess it's `Image.gz` ungziped ?~~
<DC-IRC> <jorropo> found the sha256sum and it isn't, got previous release
<DC-IRC> <tenkawa42> you good now?
<DC-IRC> <tenkawa42> (been afk)
<DC-IRC> <jorropo> yeah sorry
<DC-IRC> <jorropo> yeah thx
arch3r has quit [Ping timeout: 260 seconds]
arch3r has joined #armbian
Some-body_ has joined #armbian
DarthGandalf has quit [Ping timeout: 240 seconds]
crabbedhaloablut has quit []
Some-body_ is now known as DarthGandalf
arch3r has quit [Ping timeout: 260 seconds]
arch3r has joined #armbian
lyri has joined #armbian
alekksander has quit [Quit: Konversation terminated!]
tachi_ has joined #armbian
jantones has quit [Ping timeout: 272 seconds]
arch3r has quit [Ping timeout: 255 seconds]
arch3r has joined #armbian
arch3r has quit [Ping timeout: 240 seconds]
lyri has quit [Remote host closed the connection]
arch3r has joined #armbian
arch3r has quit [Ping timeout: 272 seconds]
arch3r has joined #armbian
arch3r has quit [Ping timeout: 260 seconds]
arch3r has joined #armbian
arch3r has quit [Read error: Connection reset by peer]
arch3r- has joined #armbian
arch3r- has quit [Ping timeout: 240 seconds]
arch3r has joined #armbian
arch3r has quit [Ping timeout: 248 seconds]
arch3r has joined #armbian
arch3r has quit [Ping timeout: 272 seconds]
arch3r has joined #armbian
arch3r has quit [Ping timeout: 260 seconds]
arch3r has joined #armbian
arch3r has quit [Ping timeout: 255 seconds]
arch3r has joined #armbian
zeemate has quit [Ping timeout: 252 seconds]
arch3r- has joined #armbian
arch3r has quit [Ping timeout: 260 seconds]
arch3r- has quit [Ping timeout: 258 seconds]
arch3r has joined #armbian
arch3r has quit [Excess Flood]
arch3r has joined #armbian
arch3r has quit [Ping timeout: 252 seconds]
arch3r has joined #armbian
arch3r has quit [Ping timeout: 255 seconds]