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
montjoie has quit [Ping timeout: 246 seconds]
montjoie has joined #armbian
Sally1 has quit [Ping timeout: 246 seconds]
Sally1 has joined #armbian
DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian
zeemate has quit [Ping timeout: 264 seconds]
<Hammdist> ok so I have run hwlatdetect on my renegade and it's turning up large latencies (close to 17ms). reading this page https://www.kernel.org/doc/html/latest/trace/hwlat_detector.html it looks like these are hooks that run "bios" code underneath the linux/os layer, and there is not much that can be done about them. however I'm not %100 convinced that
<Hammdist> an arm soc has such bios code running after boot, but maybe it does
_whitelogger has joined #armbian
<DC-IRC> <silver2row> Dang it...
<DC-IRC> <tenkawa42> No. ARM socs have no BIOS
<DC-IRC> <silver2row> Did you guys/gals use zsh like in the forums?
<DC-IRC> <tenkawa42> @silver2row I used zsh years ago... haven't in a long time though
<DC-IRC> <silver2row> I mean...is Armbian using zsh for building or am I supposed to use bash for building and then w/in Armbian use zsh?
<DC-IRC> <tenkawa42> I use bash
<DC-IRC> <silver2row> Okay.
<DC-IRC> <tenkawa42> (for building)
<DC-IRC> <silver2row> Me too.
<DC-IRC> <silver2row> Right.
<DC-IRC> <tenkawa42> Back in my younger days I was a ksh user....
<DC-IRC> <silver2row> Do you see on that line where I might be mistaken or is Saturday not working days for you guys?
<DC-IRC> <silver2row> Oh.
<DC-IRC> <silver2row> I used bash and still use bash.
<DC-IRC> <silver2row> @tenkawa42 : Anyway, if you do not get around to it, fine by me. I am building still and the bash script gets busted at Line # 263.
<DC-IRC> <silver2row> I know why, i.e. the files are unforeseen to me at that point. So, I cannot directly advance the files to a new dir. either by ./* or by manually adding the files.
<DC-IRC> <tenkawa42> your comment is done wrong
<DC-IRC> <silver2row> # ?
<DC-IRC> <silver2row> Ut oh.
<DC-IRC> <silver2row> So `#` is not a comment?
<DC-IRC> <tenkawa42> notice its not open/closed properly?
<DC-IRC> <silver2row> Hmm.
<DC-IRC> <silver2row> Let me make sure.
<DC-IRC> <tenkawa42> ./* # Right now, ./*
<DC-IRC> <silver2row> I just added the `#` w/out anything. No, the command ends w/ ./*
<DC-IRC> <silver2row> So, the file stops on that line that should read...
<DC-IRC> <silver2row> `tar --create --gzip --file "../${KERNEL_UTS}-modules.tar.gz" ./*`
<DC-IRC> <silver2row> Hmm. Maybe the person or me made a mistake. I need to research again...hmm.
<DC-IRC> <tenkawa42> yes... it has to be /* */
<DC-IRC> <tenkawa42> for comments
<DC-IRC> <tenkawa42> not ./*
<DC-IRC> <tenkawa42> or # in shell
<DC-IRC> <silver2row> Right but the tar command ends w/ ./* like copy everything in that dir. from ../
<DC-IRC> <silver2row> Oh!
<DC-IRC> <silver2row> It is in shell.
<DC-IRC> <silver2row> Blah.
<DC-IRC> <tenkawa42> yeah that ./* will definitely break that tar
<DC-IRC> <silver2row> It does.
<DC-IRC> <silver2row> So, it is a bash file I am using but have shell interpretations in it?
<DC-IRC> <tenkawa42> yep
<DC-IRC> <silver2row> Aw and dang.
dhchunk has joined #armbian
<DC-IRC> <silver2row> Hmm.
<DC-IRC> <tenkawa42> the comments need to be above it
<DC-IRC> <tenkawa42> keep them in a line above
<dhchunk> is this where the smart people hang out?
<DC-IRC> <tenkawa42> # this tar does this
<DC-IRC> <tenkawa42> er.. # this tar does this.. the do the cmd on next line
<DC-IRC> <tenkawa42> er.. # this tar does this.. then do the cmd on next line
<DC-IRC> <silver2row> All my comments have the `#` mark instead of the correct comments.
<DC-IRC> <silver2row> Blah. No wonder I was passing out left and right when attempting this file exchange.
<DC-IRC> <silver2row> Argh.
<DC-IRC> <tenkawa42> Yeah believe me... been there hundreds of times
<DC-IRC> <silver2row> I thought I was right but not right. I have been wrong.
<DC-IRC> <silver2row> Okay.
<Hammdist> mainly homo sapiens hang out here, yes
<dhchunk> Hammdist, fantastic
<DC-IRC> <tenkawa42> Hammdist: I'm not human... hey!! stop accusing me of being one lol
<DC-IRC> <silver2row> I should take some time off and go and cry.
<DC-IRC> <silver2row> ha.
<dhchunk> i'm on an orange pi 5. i want to run the system from the EMMC. i'm good with this part using armbian-config script.
<dhchunk> next thing i want to do is use a large SD card as storage
<dhchunk> but if the SD card is plugged in then the board tries to boot it first
<DC-IRC> <tenkawa42> @silver2row thats the way I feel about this problem I'm debugging atm:
<DC-IRC> <tenkawa42> ment for executing generators: Protocol error
<DC-IRC> <tenkawa42> [!!!!!!] Failed to start up manager.
<DC-IRC> <tenkawa42> [ 598.935704] systemd[1]: Freezing execution.
<DC-IRC> <tenkawa42> ed
<dhchunk> i can't think of a smart way around this.
<Hammdist> some boards have jumpers to control the boot order
<Hammdist> no idea about the orange pi 5 though
<DC-IRC> <c0rnelius77> erase u-boot off the SD?
<dhchunk> no jumpers
<DC-IRC> <tenkawa42> @silver2row working on some kernel boot code fixes for a RISC-V board
<DC-IRC> <silver2row> nice.
<dhchunk> c0rnelius77, if there's no boot partition on the SD then nothing boots
<DC-IRC> <tenkawa42> Yeah unfortunately the hardware isn't the "friendliest"
<dhchunk> i was trying to think of a way to put a u-boot partition on the SD but have it point to the emmc
<DC-IRC> <silver2row> @tenkawa42 : So, you need a specific opensbi and riscv-64 toolchain?
<DC-IRC> <tenkawa42> @silver2row no.. sadly its a design issue with the board (Pine64)
<DC-IRC> <c0rnelius77> is there reason why the emmc can't have uboot on it?
<DC-IRC> <silver2row> Aw. I have used those w/ the Recore.
<DC-IRC> <silver2row> The Recore.csc builds w/ the Armbian distro but I think they are ARM.
<DC-IRC> <silver2row> Pine64 has Riscv-64 boards too?
<DC-IRC> <silver2row> i was unaware...
<DC-IRC> <tenkawa42> If I leave it on ancient code it runs fine... right now I have it booting 6.4 mainline test code but it won't complete the boot
<DC-IRC> <tenkawa42> Yeah the Star64
<DC-IRC> <silver2row> Hmm.
<DC-IRC> <silver2row> Oh.
<DC-IRC> <silver2row> Star64 is news to me.
<DC-IRC> <tenkawa42> The VisionFive2 from Starfive runs great
<DC-IRC> <silver2row> So, the opensbi needs alterations or the kernel needs alterations or the u-boot needs changing? Or...is this what you are debugging now?
<DC-IRC> <tenkawa42> debugging
<DC-IRC> <tenkawa42> I think its u-boot and the kernel
<DC-IRC> <tenkawa42> I think OpenSBI is fine'
<DC-IRC> <tenkawa42> I think OpenSBI is fine
<Hammdist> tinkerboard2 jammy image gives no HDMI signal (don't have serial port to see what is going on)
<DC-IRC> <silver2row> Okay. I ordered a CP2102 for my board. This BeagleV-Ahead has some UART debugger headers...
<DC-IRC> <silver2row> I was going to learn line by line in the UART debug header output.
<DC-IRC> <silver2row> But...
<DC-IRC> <silver2row> My package was intercepted by A_HOLES. Now, I have nothing. Sorry to pretend to cuss.
<DC-IRC> <tenkawa42> bummer
<DC-IRC> <silver2row> Yep.
<DC-IRC> <silver2row> I heard my FTDI does do nothing w/ this debug header.
<DC-IRC> <silver2row> So, I got a CP2102 chipset to handle it.
<DC-IRC> <silver2row> ` got `. Well, not got.
jantones has joined #armbian
<DC-IRC> <silver2row> The issue I was having, outside of that specific line, was on Bookworm. The file usually builds on WSL2 but not on Bookworm machines which makes me think something is off...
<DC-IRC> <silver2row> On me, I understand and in time... I should be able to figure it out. Thank you for putting up w/ me so far!
<DC-IRC> <tenkawa42> Bookworm has been iffy for some people....
<DC-IRC> <silver2row> Right. I think I am missing some files or headers. I am not sure yet. It is new. So, I may have to reconcile to Bullseye again...
<DC-IRC> <tenkawa42> Nod.. Well good luck for now... be back tomorrow.. cheers all
<DC-IRC> <silver2row> Later for now!
dhchunk has quit [Remote host closed the connection]
dhchunk has joined #armbian
<dhchunk> ok, i figured it out.
<dhchunk> anyone interested?
jclsn has quit [Ping timeout: 245 seconds]
<Hammdist> dhchunk: well tell us already ...
<dhchunk> sorry
<dhchunk> i noticed that the armbian-config script i used to copy from the SD to the EMMC left the boot partitions intact but cleared the contents on the SD card
jclsn has joined #armbian
<dhchunk> the script obviously changed the boot process to point to the emmc
<dhchunk> so i copied that partition back to the SD with cat /dev/mmcblk0p1 > /dev/mmcblk1p1
<dhchunk> formatted the other partition on the SD, rebooted and voila!
<dhchunk> the only pitfall i can think of is that future kernel updates will probably go to the emmc and need to be pushed back to the SD card the same way
<Hammdist> are you sure? I'm no expert but I would assume armbian-config made the u-boot script on the emmc take kernel/initrd from the emmc and if you copy it it will still do that
<dhchunk> i should probably disable kernel upgrades, right?
<dhchunk> Hammdist, i initially tried to just copy it but that didn't work.
<dhchunk> for some reason it would still boot from the SD card
<dhchunk> i changed the desktop on the SD card, but also then it would show the EMMC as additional storage
<dhchunk> and now i'm definitely booting from the SD card, but there are no OS files on that card
<dhchunk> i formatted the old root partition
Hammdist has quit [Quit: Client closed]
<archetech> rock5 delidded heh kids
Sally2 has joined #armbian
Sally1 has quit [Ping timeout: 246 seconds]
junaid_ has joined #armbian
junaid_ has quit [Client Quit]
dhchunk has quit [Remote host closed the connection]
jantones has quit [Quit: Leaving]
crabbedhaloablut has joined #armbian
lemonzest has quit [Quit: WeeChat 3.6]
lemonzest has joined #armbian
hays has joined #armbian
archetech has quit [Quit: Leaving]
lyri has quit [Ping timeout: 260 seconds]
lyri has joined #armbian
zeemate has joined #armbian
lyri has quit [Ping timeout: 245 seconds]
lyri has joined #armbian
alekksander has joined #armbian
arch3r has quit [Ping timeout: 246 seconds]
arch3r has joined #armbian
junaid_ has joined #armbian
junaid_ has quit [Quit: leaving]
stipa_ has joined #armbian
stipa has quit [Read error: Connection reset by peer]
stipa_ is now known as stipa
<DC-IRC> <terrorpup> Those discord chats go into irc? This is kinda cool
<DC-IRC> <tenkawa42> Yeah its a two way bridge
<DC-IRC> <terrorpup> Thought the DC-IRC bot was just printing random text
<DC-IRC> <terrorpup> very cool @tenkawa42
<DC-IRC> <tenkawa42> I'm not sure if we use one but there's one for Matrix out there too
<DC-IRC> <terrorpup> I use to hang out in IRC a lot long time, until the whole freenode issue
<DC-IRC> <tenkawa42> Oh don't get me started on that
<DC-IRC> <terrorpup> lol
<DC-IRC> <tenkawa42> I was a hub operator at that time there
<DC-IRC> <tenkawa42> I owned asimov.
<DC-IRC> <tenkawa42> On linpeople, openprojects, and freenode
<DC-IRC> <terrorpup> I ran my own for awhile
<DC-IRC> <terrorpup> I haven't setup account on the new irc group, I should
<DC-IRC> <terrorpup> I was mainly there for SuSE and Southeast Linux Fest, Ansible, Python and bash
jason123onirc has quit [Ping timeout: 245 seconds]
<DC-IRC> <tenkawa42> Same... I ran a server on Dalnet and a few of the others back in the days (running an ISP gave access to very good routing resources)
<DC-IRC> <terrorpup> LOL, I worked for a Mom & Pop ISP too, Avana Communications kinda how I got into Linux. I wanted to play with the BSDi, but since it was the heart of the ISP, no can touch, so a buddy helped me setup a Slackware, I been on Linux ever since
<DC-IRC> <tenkawa42> Yeah I hear ya
<DC-IRC> <terrorpup> Which is funny, as because now Red Hat Engineer, no certs, I lead a team of ten people. LOL
<DC-IRC> <tenkawa42> Yeah I went through my entire career as a sysadmin/dba/coder but I avoided mgmt.... intentionally... just wasn't me
<DC-IRC> <terrorpup> AVOID IT
<DC-IRC> <tenkawa42> I'm jumping to ot chan
<DC-IRC> <terrorpup> Is there a OT change
jason123onirc has joined #armbian
junaid_ has joined #armbian
<DC-IRC> <silver2row> Okay and so it goes...I put the building to rest. It works. Now, will it boot? No. Why will it not boot? I am not sure. I used a defconfig and called it .config, ran the commands I had, and then got a xfce img file.
<DC-IRC> <silver2row> I placed the linux-defconfig.config in the /build/config/kernel/ dir.
<DC-IRC> <silver2row> It ran nicely. I then tried to only build the ROOTFS. This halted the build from the get-go.
<DC-IRC> <silver2row> Inquiring here...is there a particular way to run the command: `ROOT_FS_CREATE_ONLY`?
<DC-IRC> <silver2row> For instance: `ROOT_FS_CREATE_ONLY="yes"` does not work. Is this b/c of my cloned repo of /userpatches/ dir. and the build obligations of those files?
lyri has quit [Ping timeout: 264 seconds]
lyri has joined #armbian
<DC-IRC> <lanefu> That flag is probably deprecated did I send you a link to my Armbian-next cheat before? There's a part in theory on how to find the different commands like build, kernel, kernel-configure etc
<DC-IRC> <silver2row> Oh. Yes. You did.
<DC-IRC> <silver2row> @lanefu : I will review it again.
<DC-IRC> <lanefu> Yeah no substitute for grepping through the Armbian code base lol. But any flag that was triggering an activity vs a configuration is effectively deprecated in favor of a command
<DC-IRC> <silver2row> Okay.
<DC-IRC> <lanefu> Some commands being more official than others
<DC-IRC> <lanefu> Sorry I don't have a faster answer for ya
<DC-IRC> <silver2row> Got it. I saw you guys/gals were redoing the entire build repo.
<DC-IRC> <silver2row> No issue.
<DC-IRC> <silver2row> I just thought I would reach out.
<DC-IRC> <silver2row> a deprecation is a deprecation. So, no issue whatsoever.
<DC-IRC> <lanefu> You're doing great at getting used to the tool so keep it up. Lots of power underneath as you can see
<DC-IRC> <silver2row> Right. I will have to research the codebase more.
<DC-IRC> <silver2row> Function here and code there. So, I should get on it soon.
<DC-IRC> <silver2row> I was surprised the entire thing built w/out error to tell you the truth. I have been slacking in the research dept. recently.
arch3r has quit [Ping timeout: 260 seconds]
arch3r has joined #armbian
<DC-IRC> <silver2row> Nice.
<DC-IRC> <silver2row> Thank you!
Hammdist has joined #armbian
<DC-IRC> <lanefu> Lol I guess the command is called rootfs
<DC-IRC> <silver2row> @lanefu : Thank you.
<DC-IRC> <silver2row> I appreciate it guys. Now, I know!
zeemate has quit [Ping timeout: 245 seconds]
junaid_ has quit [Remote host closed the connection]
tomaw has quit [Remote host closed the connection]
tomaw_ has joined #armbian
tomaw_ is now known as tomaw
lyri has quit [Ping timeout: 260 seconds]
lyri has joined #armbian
lyri has quit [Ping timeout: 252 seconds]
lyri has joined #armbian
junaid_ has joined #armbian
JyZyXy has quit [Ping timeout: 260 seconds]
lyri has quit [Ping timeout: 246 seconds]
lyri has joined #armbian
ajshell1 has quit [Quit: Ping timeout (120 seconds)]
ajshell1 has joined #armbian
lyri has quit [Ping timeout: 260 seconds]
lyri has joined #armbian
arch3r has quit [Ping timeout: 246 seconds]
arch3r has joined #armbian
lyri has quit [Ping timeout: 246 seconds]
lyri has joined #armbian
lyri has quit [Ping timeout: 250 seconds]
lyri has joined #armbian
arch3r has quit [Quit: bye]
arch3r has joined #armbian
arch3r has quit [Ping timeout: 245 seconds]
arch3r has joined #armbian
arch3r has quit [Quit: bye]
arch3r has joined #armbian
pablocastellanos has quit [Ping timeout: 246 seconds]
junaid_ has quit [Remote host closed the connection]
arch3r has quit [Ping timeout: 246 seconds]
arch3r has joined #armbian
Sally2 has quit [Ping timeout: 250 seconds]
arch3r has quit [Ping timeout: 244 seconds]
arch3r has joined #armbian
archetech has joined #armbian
<DC-IRC> <iamak> Hey sorry for the late reply. I am getting the same error after putting a new SD card in my Odroid. I verified the img signature as well.
<DC-IRC> <iamak> Full log:
<DC-IRC> <iamak> ```
<DC-IRC> <iamak> Gave up waiting for root file system device. Common problems:
<DC-IRC> <iamak> - Boot args (cat /proc/cmdline)
<DC-IRC> <iamak> - Check rootdelay= (did the system wait long enough?)
<DC-IRC> <iamak> - Mussing modules (cat /proc/modules; ls /dev)
<DC-IRC> <iamak> ALERT! /dev/mmcblk1p1 does not exist. Dropping to a shell!
<DC-IRC> <iamak> ```
<DC-IRC> <iamak> How do I fix this? `ls /dev` shows only `mmcblk1p0`.
<DC-IRC> <c0rnelius77> @iamak on the back of the board there is a switch. if you flip it to the right it will bypass the SPI flash. What position is it set at currently?
<DC-IRC> <iamak> Currently set to `SPI`
<DC-IRC> <c0rnelius77> flip it to mmc and try again
<DC-IRC> <iamak> 1 seconf
<DC-IRC> <iamak> 1 second
lyri has quit [Remote host closed the connection]
<DC-IRC> <iamak> I can see the Systemd stuff so I guess it works?
<DC-IRC> <iamak> Why was i able to see all the SD card data with `SPI`?
<DC-IRC> <iamak> That made me think it was the correct position
<DC-IRC> <iamak> It's initializing the SD card. Repartitioning and stuff
<DC-IRC> <c0rnelius77> Not sure. But I haven't had much success with petitboot and single partitions. Generally you need a FAT or EXT2 partition for pboot to work in my experience. Also best to use the vendor u-boot.
<DC-IRC> <c0rnelius77> Not sure. But I haven't had much success with petitboot and single partitions. Generally you need a FAT or EXT2 `BOOT`partition for pboot to work in my experience. Also best to use the vendor u-boot.
<DC-IRC> <iamak> Okay
<DC-IRC> <c0rnelius77> There are ways to update pboot, could always try that and see if it fixes the issue there. But it isn't really worth the effort unless you have some special use case. https://wiki.odroid.com/odroid-n2/os_images/petitboot
<DC-IRC> <iamak> It booted now. Can create users and stuff
<DC-IRC> <c0rnelius77> good good. enjoy.
<DC-IRC> <iamak> Oh okay
<DC-IRC> <iamak> Thanks a lot @c0rnelius77
<DC-IRC> <c0rnelius77> ur welcome
zeemate has joined #armbian
Sally1 has joined #armbian
<archetech> owning a N2 means firstreading the fine wiki
Sally1 has quit [Ping timeout: 245 seconds]
<DC-IRC> <iamak> "Fine wiki"?
<archetech> odroids wiki
<DC-IRC> <iamak> Yeah I read that. That's how I selected `SPI`
<archetech> then ya read it wrg cuz it clearly states using a sdcard means not spi
<archetech> odroid images on sdcard can use spi
smcavoy165 has quit [Quit: The Lounge - https://thelounge.chat]
smcavoy165 has joined #armbian
Sally1 has joined #armbian
alekksander has quit [Ping timeout: 246 seconds]
crabbedhaloablut has quit []
zeemate has quit [Ping timeout: 258 seconds]
Sally1 has quit [Ping timeout: 260 seconds]
Hammdist has quit [Quit: Client closed]
archetech has quit [Quit: Konversation terminated!]
Sally1 has joined #armbian
Sally1 has quit [Ping timeout: 246 seconds]
arch3r has quit [Ping timeout: 245 seconds]