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/Twitter feed: #armbian-rss | Logs: -> irc.armbian.com
schwarz_Kat has joined #armbian
oida has quit [Ping timeout: 248 seconds]
norwich_ has joined #armbian
norwich has quit [Ping timeout: 246 seconds]
norwich_ is now known as norwich
archetech has quit [Quit: Konversation terminated!]
<Devrim>
Welcome to Armbian 22.02.1 Jammy with Linux 5.10.102-meson64
<Devrim>
Manual upgrade from Focal worked :)
<Devrim>
on ODroid N2+ btw
<Macer>
so i disabled the splash screen. it gets to Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done
<Macer>
then done. but then i receive an error Gave up waiting for root file system device. Common problems.. <list of problems>
<Macer>
so it almost seems like emmc is not being initialized even though it can function when booting from SD
<Macer>
then i get put in a busybox prompt but the keyboard doesn't work
<Macer>
it is using the proper UUID as well
<Macer>
maybe i can edit the fstab and move it to /dev/mmcblk2p1 and see what happens. but this seems more like the emmc not initializing for some reason
archetech has joined #armbian
<[TheBug]>
yeah its failing to bring up mmc in linux for whatever reason so
<[TheBug]>
maybe dtb is off>
archetech has quit [Quit: Leaving]
dmh has quit [Quit: rip]
archetech has joined #armbian
<Macer>
yah. i just moved onto accepting i can't boot emmc
<Macer>
and am just using it as secondary storage. or maybe later i'll just pull it and not use it or something. 64GB of swap or some other thing to use it for
<Macer>
i was going to take a look at openbsd on it
<Macer>
see how that's coming along heh
<Macer>
i'm actually trying to upgrade my current install (on the SD) to jammy now.
<Macer>
so i'll see how that goes first. but emmc seems super flakey overall
pablocastellanos has quit [Ping timeout: 240 seconds]
pablocastellanos has joined #armbian
<schwarz_Kat>
Devrim: 😄 That's good to hear. You should consider posting how you did it on the forum.
<lanefu>
Macer: yeah that's a weird scenario. Bootloader from emmc def used to work and it would even look on sdcard for SPL. I did an update a few months ago on my pbp and did break booting and I haven't debugged since
<lanefu>
@bd1308 had pretty good luck with towboot and armbian a month or 2 ago but not sure where he left off
amazingfate_ has joined #armbian
amazingfate has quit [Ping timeout: 252 seconds]
samythemany has quit [Quit: Bridge terminating on SIGTERM]
samythemany has joined #armbian
lemonzest has joined #armbian
<lanefu>
Macer: if it makes you feel better you inspired me to et my PBP out.. and yeah my bootloader is f'd i can't boot from sdcards
<lanefu>
i've managed to avoid taking the thing apart this entire time
<lanefu>
it was a good run
<Macer>
haha
<Macer>
lanefu: yah. i think in the case of armbian uboot HAS to be on spi
<Macer>
i manged to somehow to get it to boot off SD. it will NOT boot off emmc no matter what
<Macer>
but emmc on pbp is so flakey. it really is hit or miss. i actually just disabled it with the switch just now and am working strictly off SD
<Macer>
armbian img actually completely borks the emmc uboot so it will just stay there forever until you disable, install uboot on SD. boot. hurry and turn it on, reinitialize, then write uboot to emmc again
<Macer>
i was going to look at building tow-boot for spi. i'll test it on SD and see if i can write it to mtd0 in a bit
<Armbian-Discord>
<L​uis Fariña> Hi everyone, I'm seeing that a lot of my files are corrupted. Would this happen due to improper shutdown/power interruption?
<Armbian-Discord>
<L​uis Fariña> Or do I have a different problem
<[TheBug]>
well
<[TheBug]>
your doing this in reverse
<[TheBug]>
need a lot more information about how you got to the problem before we can start to guess the issue
<[TheBug]>
what lead you up to the issue?
<[TheBug]>
did the poer go out?
<[TheBug]>
power*
<[TheBug]>
did you take out the sdcard while it was operational?
<[TheBug]>
did it start happening while in operation?
<[TheBug]>
have you changed the power supply out to see if your power adapter is possibly undervolting because of age?
<[TheBug]>
there are many possibilities
<[TheBug]>
so to even guess at your issue you would have to let us know what actually happened
<lanefu>
Macer: nah it doesn't hae ot be its just borked..... so PBP prefers boot in following order (in hardware) spi, emmc, sdcard. so _if_ there's a bootloader there, thats where the rk3399 is gona try to boot from... so it means if you have a bootloader or spi or emmc, and want to boot from something below it in priority (ex sdcard) uboot has to actually pivot and look for the next bootloader stage
<lanefu>
on the other device and use it
<stipa>
L​uis Fariña which board?
<Armbian-Discord>
<L​uis Fariña> haha, so it's an orangepi zero2 running the pihole at our house, and I know for a fact that power was interrupted (housemates). However I have unplugged it a couple times without issue, so I'm wondering if I was just lucky the other times, my SD card is crapping out, or Chinese boards are very cheap for a reason.
<Armbian-Discord>
<L​uis Fariña> Or it's an OS issu, but that sounds unlikely tbh
<stipa>
i had such problems with opi lite 2
<stipa>
kernel 5.15
<stipa>
something related to log2ram
<stipa>
i'm on 5.17 jammy now, looks fine
<Macer>
lanefu: i know. but it stops at armbian install
<Armbian-Discord>
<L​uis Fariña> oh I'm on Armbian 22.02.1 Focal with Linux 4.9.255 btw
<Macer>
you'd think that if armbian didn't have a bootloader then it would move on. this isn't the case
<Macer>
seems like it gets stuck. i've done this with fresh installs.
<stipa>
L​uis Fariña you should upgrade
<stipa>
also, your card could have gone bad
<stipa>
sd card
<lanefu>
"install"
<Armbian-Discord>
<L​uis Fariña> Upgrade to what? Jammy builds?
<lanefu>
as in `nand-sata-install` ?
<Armbian-Discord>
<L​uis Fariña> I've learnt to distrust latest and greatest, but if you say so I'll move
<stipa>
L​uis Fariña so you run the newest stable image available?
<stipa>
in either case i would skip anything related to 5.15 kernel on opis
<Macer>
lanefu: no. i actually dd the img to emmc
<Macer>
so i guess i was doing that wrong? heh
<Macer>
well.. let me open it back up and turn emmc back on an try again lol
<Armbian-Discord>
<L​uis Fariña> @stipa ok thanks man, I guess I'll go to latest stable and if it happens again it's the card
<Armbian-Discord>
<L​uis Fariña> cheers!
<stipa>
L​uis Fariña cheers
<[TheBug]>
cheers
amazingfate has joined #armbian
amazingfate_ has quit [Ping timeout: 276 seconds]
<Macer>
yup. so just tried nand-sata-install... red light. doesn't go further
<Macer>
or orange. whichever heh.
<Macer>
it looks like it does essentially the same thing i did. just writes img to emmc. not sure if htere is any uboot writing done in the script at all
amazingfate_ has joined #armbian
amazingfate has quit [Ping timeout: 256 seconds]
<lanefu>
Macer: dding to emmc "should" work. i used to do it that way.. frankly i thikn we have some shit that's just broke on our PBP build/config
<lanefu>
end of story
<lanefu>
like if you go download an older PBP image
<lanefu>
i bet it just works
<lanefu>
unless you f'd up the bootloader like id id on mine ol
<lanefu>
s/ol/lol
<ArmbianHelper>
lanefu meant to say: unless you f'd up the bootloader like id id on mine lol
shoragan has quit [Excess Flood]
shoragan has joined #armbian
<Macer>
yah
<Macer>
same problem. gets past /scripts/local-premount... then waits for root file system but then says Gave up waiting for root file system device
<Macer>
and.. i also had to manually write uboot to emmc to get it to boot at all
<Macer>
so maybe install writes too early on emmc and when i write uboot it borks partition table?
<Macer>
i bet if i install tow-boot to spi it will work
<Macer>
i just wanted to figure out how to build tow-boot from git repo so i could have fresh builds .. i'll test it on SD then roll it to spi
<Macer>
either that or emmc is just completely broken on pbp. it seems like it is always a nightmare to get it to boot sometimes
<lanefu>
this sounds more liek armbian's uboot /boot.scr and /boot/armbianEnv.txt is messed up
<lanefu>
you keep on assuming armbian isnt broken
<lanefu>
its a generous assumption
<lanefu>
but yeah @bd1308 used towboot with armbian recently-ish maybe he can chime in
<lanefu>
really we need serial console logs to debug
<lanefu>
i gotta head out for the day
amazingfate has joined #armbian
amazingfate_ has quit [Ping timeout: 250 seconds]
<Macer>
i'll let you know in a minute
<Macer>
i just installed tow-boot to spi and am rewriting emmc
<Macer>
i'd really love to just close this thign and call it a day lol
<Macer>
this all started when i was trying to find ways to get deep sleep to function
<Macer>
lanefu: yeah. it could be an armbian issue with emmc. but figure i would go ahead and eliminate all other possible causes
<Armbian-Discord>
<l​anefu> Word
<lanefu>
I'm really bummed I'm gonna have to finally remove the screws from mine lol
<Macer>
welcome to my world
<Macer>
i think i had to close it and open it like 20 times already. and it's super flimsy without the bottom on
<Macer>
i have a good feeling about this 20th attempt though heh
<lanefu>
Yeah most people ended up down that path
<Macer>
yup. i have been fully committed since i woke up to go down the pinebook rabbit hole
<lanefu>
I was pretty careful and then frankly once I got my weird Frankenstein build on emmc the way I liked i left things alone
<Macer>
...
<lanefu>
Kernel 5.10.y and related was bulletproof but too many folks put their hands in our rockchip shit and uhhh made a big of a tangle
<Macer>
HERE GOES!
<Macer>
cmon armbian... you know you want to show me some love
<lanefu>
Could post on forum in pbp section with your data
<lanefu>
Would def help
<Macer>
yeah i'll probably try that later
<Macer>
i mean it works on SD so it isn't THAT serious
<Macer>
at least i have tow-boot back on spi so i don't have to open it as much :)
<Macer>
the real fun part was when i wrote the pinephone tow-boot img by accident and was stuck for 20 minutes trying to figure out why the pbp wouldn't even turn on lol
<lanefu>
Hahahahaha
<Macer>
i guess i'll give openbsd a stab
<Macer>
i just really hate manjaro heh
<Macer>
it's way too clunky on an pbp no matter what i do to it
<lanefu>
Yeah I didn't dig manjaro
<lanefu>
I'm biased
<lanefu>
But didn't dig it
<Macer>
well default was using kde.. which is super bloated.. but even pacman irritates me :)
<Macer>
i'll just go with gentoo and waste years of my life watching things build haha
lemonzest has quit [Remote host closed the connection]
oida has joined #armbian
samythemany has quit [Remote host closed the connection]
samythemany has joined #armbian
amazingfate_ has joined #armbian
mrueg has quit [*.net *.split]
mpmc has quit [*.net *.split]
sams has quit [*.net *.split]
mpmc has joined #armbian
sams has joined #armbian
mrueg has joined #armbian
amazingfate has quit [Ping timeout: 252 seconds]
<Macer>
ah neat. seems like there is dietpi for pbp
<stipa>
you should try it out
<Macer>
i did
<Macer>
same problem not being able to boot from emmc lol
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #armbian
<Macer>
so yah. something seriously wrong with emmc on this thing. it isn't just *bian flavors
<Macer>
the emmc is just flakey
<Macer>
i'll just get a 512GB sd and be done with it heh
<Macer>
use emmc as a trash disk
amazingfate has joined #armbian
amazingfate_ has quit [Ping timeout: 240 seconds]
yangcloud has joined #armbian
samythemany1 has joined #armbian
samythemany has quit [Ping timeout: 240 seconds]
p0g0 has quit [Ping timeout: 256 seconds]
<Macer>
i should test suspend again just to see what happens but my guess is that it will just die again. emmc breaks when it falls asleep lol
<Macer>
when my new sd comes in i'll just disable it for good and be done with it
<ArmbianHelper>
^ Error retrieving title. Check the log for more details.
<BigShip>
Hello! I ran into an issue after running nand-install-flash and choosing to boot from and install the filesystem on emmc. The system gets stuck on "Booting using the fdt blob" whether I use an SD card or emmc. I've even flashed other images. using rockpro64