Werner changed the topic of #armbian to: armbian - Linux for ARM development boards | www.armbian.com | Github: github.com/armbian | Announcements: #armbian-announcements | Developer talk: #armbian-devel | Off-Topic: #armbian-offtopic | Logs: -> irc.armbian.com
<DC-IRC> [Discord] <johnthecoolingfan> I guess the sd card might've gone into readonly mode.
<DC-IRC> [Discord] <johnthecoolingfan> But then why I don';t get any I/O errors when writing?
<DC-IRC> [Discord] <johnthecoolingfan> Or does that behavior depend on a particular sd card adapter?
<DC-IRC> [Discord] <menu> adapters can exhibit some really bizarre behavior, the card may still work in another adapter, it may not even read
<DC-IRC> [Discord] <johnthecoolingfan> No, it still does't reflect any writes in anotehr adapter
<DC-IRC> [Discord] <johnthecoolingfan> No, it still does't reflect any writes in another, different adapter
<DC-IRC> [Discord] <c0rnelius77> SDCARDS go bad. Even those Sandisk Extreme Pro's which are what I buy.
<DC-IRC> [Discord] <johnthecoolingfan> But it's readable, albeit with a corrupted filesystem
<DC-IRC> [Discord] <johnthecoolingfan> ll yeah water is wet but I was not surprised my 8+ year old sd card died, I was surprised that an sd card that I've got for testing images for bigtreetech hardware died so quickly
<DC-IRC> [Discord] <c0rnelius77> Could have just been a shit card? I have a few of those.
<DC-IRC> [Discord] <johnthecoolingfan> Not the shittest of teh bunch I've used over the years. Came from a reputable retailer, not extremely cheap
<DC-IRC> [Discord] <c0rnelius77> BRand?
<DC-IRC> [Discord] <johnthecoolingfan> smartbuy
<DC-IRC> [Discord] <c0rnelius77> Never heard of it. Looks like something that would come in an old smartphone.
<DC-IRC> [Discord] <johnthecoolingfan> Well, it seems to be a regional brand
<DC-IRC> [Discord] <johnthecoolingfan> Which doesn't say much because since 2022 95% of stuff now just comes under a local brand because of politics
<DC-IRC> [Discord] <johnthecoolingfan> Which doesn't say much because since 2022 95% of stuff now just comes under a local brand because of politics and shit
<DC-IRC> [Discord] <c0rnelius77> What country you in?
<DC-IRC> [Discord] <johnthecoolingfan> Russia
<DC-IRC> [Discord] <c0rnelius77> I see.
<DC-IRC> [Discord] <johnthecoolingfan> sandisk literally costs 2x as much from the same retailer
<DC-IRC> [Discord] <c0rnelius77> Better quality if its real though.
<DC-IRC> [Discord] <johnthecoolingfan> I could go for 32gb for live machines and 16 or 8 for testing images
<DC-IRC> [Discord] <menu> it may be worth using a USB to boot from if your boards support it
<DC-IRC> [Discord] <c0rnelius77> Indeed. When I can I only use SD for initial boot and then transfer to another medium.
<DC-IRC> [Discord] <johnthecoolingfan> Can OrangePi PC use usb drives for booting?
<DC-IRC> [Discord] <johnthecoolingfan> Not that I';m planning to use that as a long term solution, but at least SOMETHING to get my server back up and running
<DC-IRC> [Discord] <johnthecoolingfan> Can OrangePi PC use usb drives for booting?
<DC-IRC> [Discord] <johnthecoolingfan> Not that I'm planning to use that as a long term solution, but at least SOMETHING to get my server back up and running
<DC-IRC> [Discord] <johnthecoolingfan> aha, forums answer: no https://forum.armbian.com/topic/4044-how-i-boot-my-orange-pi-pc-from-usb/
<DC-IRC> [Discord] <c0rnelius77> You would need an SDCARD to load u-boot i thinks.
<DC-IRC> [Discord] <menu> opi5 can, i'll look
<DC-IRC> [Discord] <johnthecoolingfan> Well, I guess I could try makign a backup web server on my router
<DC-IRC> [Discord] <johnthecoolingfan> I think tehse boards are literal *years* apart
<DC-IRC> [Discord] <johnthecoolingfan> Almost a decade
<DC-IRC> [Discord] <c0rnelius77> The OPIPC is a solid little board, but running the OS from USB would be dirt slow.
<DC-IRC> [Discord] <menu> they don't *appear* to support anything other than SD boot
<DC-IRC> [Discord] <c0rnelius77> If the USB port is recognized during u-boot you could force it to boot an OS off the USB I would think. You can with other units.
<DC-IRC> [Discord] <menu> that's most likely the case, but still requires uboot on the SD
<DC-IRC> [Discord] <c0rnelius77> yes it does.
<DC-IRC> [Discord] <c0rnelius77> it actually already has preboot enabled ``` │ │ -*- Enable preboot │ │
<DC-IRC> [Discord] <c0rnelius77> │ │ (usb start) preboot default value``` So shouldn't be super hard to accomplish.
<DC-IRC> [Discord] <c0rnelius77> Could format an SD to FAT32, flash u-boot and add a boot script to it. From there flash Armbian to a USB drive. Add to boot.cmd file and create boot.scr: ```usb start; if usb dev ${devnum}; then devtype=usb; run scan_dev_for_boot_part; fi```
<DC-IRC> [Discord] <c0rnelius77> Could format an SD to FAT32, flash u-boot and add a boot script to it. Add to boot.cmd file and create boot.scr: ```usb start; if usb dev ${devnum}; then devtype=usb; run scan_dev_for_boot_part; fi``` From there flash Armbian to a USB drive.
<DC-IRC> [Discord] <menu> <https://linux-sunxi.org/FEL/USBBoot> may work for you @johnnyonflame
<DC-IRC> [Discord] <menu> <https://linux-sunxi.org/FEL/USBBoot> may work for you @johnthecoolingfan
MrFixIt has joined #armbian
jantones_ has joined #armbian
jantones has quit [Ping timeout: 260 seconds]
<DC-IRC> [Discord] <johnthecoolingfan> 🤔 interesting tool/project, but I don't really have spare usb drives to use for this purpose.
<DC-IRC> [Discord] <johnthecoolingfan> Well, I can't use my router as a fallback web server, the device doesn't have enough memory and no usb ports
<DC-IRC> [Discord] <johnthecoolingfan> I could try another sd card, but if it breaks as well I won't even be able to continue trying images for bigtreetech cb2
<DC-IRC> [Discord] <johnthecoolingfan> And maybe I shouldn't have written a whole new image each time I changed something
krei-se has quit [Ping timeout: 248 seconds]
krei-se has joined #armbian
morriset has quit [Quit: Leaving]
buzzmarshall has quit [Quit: Konversation terminated!]
sally_ has joined #armbian
sally_ is now known as sally
archetech has joined #armbian
archetech has quit [Quit: Konversation terminated!]
Dagger has quit [Ping timeout: 245 seconds]
Dagger has joined #armbian
zeemate has joined #armbian
danilogondolfo has joined #armbian
<DC-IRC> [Discord] <menu> USBBoot supports booting from a PC *over* USB from what i can make out, no SD card or flash drive necessary
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/documentation](<https://github.com/armbian/documentation>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/documentation/commit/8d5369b7c0c3931df28de85f2fdbe94e2487d933>): *Remove warnings and add/adjust graphs*
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/documentation](<https://github.com/armbian/documentation>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/documentation/commit/69c98ef8c66f7f7b64669c1521bcf4fd6824187e>): *Update Autoconfig with proposed changes*
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/documentation](<https://github.com/armbian/documentation>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/documentation/commit/a36d779dde3ea779c3640e4ad0a6da59101576b5>): *Improve part about advantages*
<DC-IRC> [Discord] <Github> ⤴️ **Pull request** to [armbian/documentation](<https://github.com/armbian/documentation>) by [igorpecovnik](<https://github.com/igorpecovnik>) - **Please review!** 👉 [Link](<https://github.com/armbian/documentation/pull/549>): *Update pull-from-armbian-config.yml*
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/documentation](<https://github.com/armbian/documentation>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/documentation/commit/69135598e002b7dcfa2c9b25827fc1e466dd29bf>): *Update mkdocs.yml*
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/documentation](<https://github.com/armbian/documentation>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/documentation/commit/0975bb007bf4b201e45c1d50dd0ae7e7a459f08b>): *`Automatic` documentation update*
zeemate has quit [Ping timeout: 252 seconds]
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/documentation](<https://github.com/armbian/documentation>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/documentation/commit/7ecbc36c77ca73028a362ba88ba331fff56d921d>): *Add Mastodon checking code*
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/documentation](<https://github.com/armbian/documentation>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/documentation/commit/b29bc9af385da016b014a65a212234cf2179f83c>): *Mastodon link is not needed*
maknho has quit [Ping timeout: 272 seconds]
maknho has joined #armbian
maknho has quit [Ping timeout: 260 seconds]
maknho has joined #armbian
LanDi has joined #armbian
maknho has quit [Ping timeout: 246 seconds]
maknho has joined #armbian
Treibholz has quit [Ping timeout: 244 seconds]
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/build](<https://github.com/armbian/build>) by [paolosabatino](<https://github.com/paolosabatino>) - [Link](<https://github.com/armbian/build/commit/51e25479c983ee8fe4e863a5684e4ec7b4813dde>): *rk3308: rockpis: remove MMC hs200, sdmmc pinctrl-default flags*
Mangix has quit [Read error: Connection reset by peer]
aego has quit [Read error: Connection reset by peer]
Mangix has joined #armbian
<DC-IRC> [Discord] <johnthecoolingfan> Well, that would require a running pc and at that point I would probably be better off just running the web server on my pc
aego has joined #armbian
<DC-IRC> [Discord] <menu> oh you're doing this without another machine? that's terrifying!
LanDi has quit [Ping timeout: 252 seconds]
<DC-IRC> [Discord] <johnthecoolingfan> Sorry but redundancy and budget don't mix togetehr well
<DC-IRC> [Discord] <johnthecoolingfan> *together
<DC-IRC> [Discord] <menu> i'm on a ten year old macbook that's at 80*C most of the time, i know how you feel
LanDi has joined #armbian
LanDi has quit [Read error: Connection reset by peer]
LanDi has joined #armbian
LanDi has quit [Quit: LanDi]
Treibholz has joined #armbian
Mangix has quit [Read error: Connection reset by peer]
Mangix has joined #armbian
alekksander has joined #armbian
archetech has joined #armbian
LanDi has joined #armbian
LanDi has quit [Client Quit]
buzzmarshall has joined #armbian
zeemate has joined #armbian
<DC-IRC> [Discord] <v_alis.is> Hey, did someone managed to boot from single btrfs partition? I tried various setups without luck on cm3588:
<DC-IRC> [Discord] <v_alis.is> - no subvolume
<DC-IRC> [Discord] <v_alis.is> - @ and @home subvolume
<DC-IRC> [Discord] <v_alis.is> - subvolumes + /boot in root
<DC-IRC> [Discord] <v_alis.is> All got an update with mkimage and update initramfs.
<DC-IRC> [Discord] <v_alis.is> Note: If I generate armbian image with boot on ext4 everything works as expected. But ideally I would like to snapshot the state before each update including the /boot.
<DC-IRC> [Discord] <v_alis.is> So I wonder, should this be even possible? And if so am I missing something? It have trouble to find information/guide for this kind of setup.
<DC-IRC> [Discord] <v_alis.is> Hey, did someone managed to boot from single btrfs partition? I tried various setups without luck on cm3588-nas:
<DC-IRC> [Discord] <v_alis.is> - no subvolume
<DC-IRC> [Discord] <v_alis.is> - @ and @home subvolume
<DC-IRC> [Discord] <v_alis.is> - subvolumes + /boot in root
<DC-IRC> [Discord] <v_alis.is> All got an update with mkimage and update initramfs.
<DC-IRC> [Discord] <v_alis.is> Note: If I generate armbian image with boot on ext4 everything works as expected. But ideally I would like to snapshot the state before each update including the /boot.
<DC-IRC> [Discord] <v_alis.is> So I wonder, should this be even possible? And if so am I missing something? It have trouble to find information/guide for this kind of setup.
<DC-IRC> [Discord] <foxusiai> You might have to copy the image to the boot partition via armbian-config?
<DC-IRC> [Discord] <foxusiai> Otherwise, as long as the initramfs supports booting off btrfs, it should work
<DC-IRC> [Discord] <foxusiai> `System -> Install to Internal Storage -> Install/Update the bootloader on eMMC`
<DC-IRC> [Discord] <foxusiai> (assuming you're booting from eMMC, not from SD)
Dagger has quit [Ping timeout: 248 seconds]
Perflosopher has quit [Quit: The Lounge - https://thelounge.chat]
Dagger has joined #armbian
<DC-IRC> [Discord] <v_alis.is> Right now I am trying to boot from sdcard. I wanted to dd over only working system.
<DC-IRC> [Discord] <foxusiai> I'm not sure then. The `install to internal storage` has an option for SD boot, but I'm not sure it'll help you here
<DC-IRC> [Discord] <v_alis.is> Can I define FS with `install to internal storage`? I have to try 🤔
<DC-IRC> [Discord] <foxusiai> It's more about installing the newly generated boot image to where the device expects to load it from. I don't think `mkimage` alone handles this step for you
<DC-IRC> [Discord] <v_alis.is> I will try. Wanted to keep working emmc until I figure it out but I am intrigued now. 😄
<DC-IRC> [Discord] <v_alis.is> I never used the armbian-config for installation actually. Can it install custom image? I mean if I supply prebuilt one but not the one which is booted.
<DC-IRC> [Discord] <foxusiai> not sure, sorry
<DC-IRC> [Discord] <foxusiai> I think it just picks the one in /boot
Perflosopher has joined #armbian
<DC-IRC> [Discord] <Werner> Not sure if uboot supports btrfs. This is why a separate boot partition might be necessary
<DC-IRC> [Discord] <c0rnelius77> It supports it, but I've never been able to get it to load from a subvolume without a /boot partition.
<DC-IRC> [Discord] <foxusiai> I couldn't find any docs on such filesystems if any uboot supports
<DC-IRC> [Discord] <foxusiai> so I figured maybe the image just bundles uboot+kernel+initramfs
<DC-IRC> [Discord] <foxusiai> I couldn't find any docs on which filesystems if any uboot supports
<DC-IRC> [Discord] <foxusiai> It'd be nice if low level system software ever documented *how* it does things, not just *that* it does things 😄
archetech has quit [Quit: Konversation terminated!]
archetech has joined #armbian
<DC-IRC> [Discord] <v_alis.is> Yea I found some mentions that new u boots supports booting from btrfs. But no idea whether it means directly or from separate `/boot` partition
<DC-IRC> [Discord] <c0rnelius77> It supports it, but I've never been able to get it to load a subvolume without a /boot partition.
wootehfoot has joined #armbian
ss4 has joined #armbian
wootehfoot has quit [Ping timeout: 265 seconds]
ss4 has quit [Quit: Leaving]
Treibholz has quit [Quit: WeeChat 3.8]
wootehfoot has joined #armbian
Treibholz has joined #armbian
laz0r has quit [Ping timeout: 248 seconds]
laz0r_ has joined #armbian
laz0r_ is now known as laz0r
laz0r_ has joined #armbian
laz0r has quit [Ping timeout: 252 seconds]
laz0r_ is now known as laz0r
ss4 has joined #armbian
ss4 has quit [Remote host closed the connection]
wootehfoot has quit [Ping timeout: 245 seconds]
Mangix has quit [Read error: Connection reset by peer]
Mangix has joined #armbian
lemonzest has quit [Ping timeout: 252 seconds]
lemonzest has joined #armbian
wootehfoot has joined #armbian
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/build](<https://github.com/armbian/build>) by [brentr](<https://github.com/brentr>) - [Link](<https://github.com/armbian/build/commit/a1fa6649e016979d7c76ecc6380e6e6b8535d9e5>): *Reduce the size of the CMA to 16MB (#7522)*
coldfeet has joined #armbian
alekksander has quit [Ping timeout: 248 seconds]
coldfeet has quit [Remote host closed the connection]
califax has quit [Quit: ZNC 1.8.2 - https://znc.in]
jantones_ has quit [Remote host closed the connection]
califax has joined #armbian
jantones has joined #armbian
wootehfoot has quit [Read error: Connection reset by peer]
aego has quit [Remote host closed the connection]
laz0r has quit [Ping timeout: 252 seconds]
laz0r has joined #armbian
archetech has quit [Quit: Leaving]
danilogondolfo has quit [Remote host closed the connection]
<DC-IRC> [Discord] <shtripok> can't build kernel debs for odroindn2, can't understand error not on screen, not in log.
<DC-IRC> [Discord] <shtripok> and pastebin not works for a while
<DC-IRC> [Discord] <shtripok> where to go?
<DC-IRC> [Discord] <shtripok> log too long for termbin and dpaste