Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2024.07, v2024.10-rc2 are OUT / Merge Window is CLOSED, next branch is OPEN / Release v2024.10 is scheduled for 07 October 2024 / Channel archives at https://libera.irclog.whitequark.org/u-boot
prabhakalad has quit [Ping timeout: 252 seconds]
prabhakalad has joined #u-boot
prabhakalad has quit [Ping timeout: 252 seconds]
prabhakalad has joined #u-boot
jclsn has quit [Ping timeout: 260 seconds]
jclsn has joined #u-boot
Jones42_ has joined #u-boot
Jones42 has quit [Ping timeout: 272 seconds]
ellyq has quit [Ping timeout: 255 seconds]
ellyq has joined #u-boot
sally_ has joined #u-boot
sally has quit [Ping timeout: 252 seconds]
sally_ is now known as sally
atka has quit [Ping timeout: 252 seconds]
mmu_man has quit [Ping timeout: 248 seconds]
redbrain has quit [Read error: Connection reset by peer]
redbrain has joined #u-boot
goliath has joined #u-boot
atka has joined #u-boot
monstr has joined #u-boot
eballetbo has joined #u-boot
mripard has joined #u-boot
ldevulder has joined #u-boot
frieder has joined #u-boot
joeskb7 has quit [Quit: Lost terminal]
prabhakalad has quit [Quit: Konversation terminated!]
prabhakalad has joined #u-boot
sszy has joined #u-boot
ikarso has joined #u-boot
Jones42__ has joined #u-boot
Jones42_ has quit [Ping timeout: 252 seconds]
mmu_man has joined #u-boot
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
Cityjohn has joined #u-boot
<apalos> sjg1: https://developer.arm.com/documentation/den0118/a is the doc that describes the metadata, we already have it in u-boot
jfsimon1981 has quit [Read error: Connection reset by peer]
jfsimon1981 has joined #u-boot
Cityjohn has quit [Remote host closed the connection]
Cityjohn has joined #u-boot
Cityjohn has quit [Ping timeout: 246 seconds]
slobodan has joined #u-boot
rvalue- has joined #u-boot
rvalue has quit [Ping timeout: 264 seconds]
rvalue- is now known as rvalue
Cityjohn has joined #u-boot
vardhan has joined #u-boot
mripard has quit [Quit: mripard]
mripard has joined #u-boot
Cityjohn has quit [Ping timeout: 246 seconds]
Cityjohn has joined #u-boot
Cityjohn has quit [Ping timeout: 265 seconds]
Cityjohn has joined #u-boot
monstr has quit [Ping timeout: 252 seconds]
naoki has quit [Quit: naoki]
Cityjohn has quit [Ping timeout: 248 seconds]
Cityjohn has joined #u-boot
Stat_headcrabed has joined #u-boot
Stat_headcrabed has quit [Quit: Stat_headcrabed]
dsimic has quit [Ping timeout: 245 seconds]
goliath has quit [Quit: SIGSEGV]
am11 has joined #u-boot
dsimic has joined #u-boot
<am11> hi, i have riscv laptop Musebook which came preinstalled with bianbuOS (debian-based distro), with a bit older kernel (6.1). i am trying to boot into alpine linux or ubuntu 24.10 live, but there is no BIOS/UEFI to which we can entry using interrupt.
<am11> so i bought this UART->USBC and connected to mac, minicom shows the device and boot logs. with flashboot button pressed during the startup, it doesn't proceed after printing Controller Run\nusb rst int lines, and without the flashboot mode, it dumps these logs before offering me tty login: https://pastebin.com/8hVRXrXK
<am11> is there an online resource which can help me how to change boot order in this kind of device?
Cityjohn has quit [Ping timeout: 246 seconds]
<am11> i tried Enter, Space, Escape, F1, F2, F9-F12 during the startup, but it goes directly to linux kernel loading, unless i press flashboot and there i just shows five lines and hangs (doesn't accept any input) :(
<am11> (this is a dev machine, not a daily driver, so i can experiment if someone has ideas what to try next)
gsz has joined #u-boot
jfsimon1981 has quit [Read error: Connection reset by peer]
jfsimon1981 has joined #u-boot
vagrantc has joined #u-boot
vardhan has quit [Ping timeout: 260 seconds]
goliath has joined #u-boot
Stat_headcrabed has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
mmu_man has quit [Ping timeout: 252 seconds]
flyback has quit [Ping timeout: 248 seconds]
mmu_man has joined #u-boot
___nick___ has joined #u-boot
flyback has joined #u-boot
Stat_headcrabed has quit [Quit: Stat_headcrabed]
joeskb7 has joined #u-boot
<mps> am11: is it with Spacemit CPU?
<mps> few days ago I managed to boot BPI-F3 SBC which have right this SoC
<mps> and I managed to boot alpine userspace but with armbian kernel
<mps> flashing u-boot+opensbi on it looks very cumbersome to my uneducated eyes on such devices
frieder has quit [Remote host closed the connection]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #u-boot
___nick___ has quit [Client Quit]
___nick___ has joined #u-boot
<cambrian_invader> am11: it looks like someone has disabled the boot delay
<cambrian_invader> am11: since you have "Loading Environment from SPIFlash" you can try finding the environment in SPI and editing it in Linux
<cambrian_invader> that may allow you to either set `bootdelay` to a positive value, or just set `bootcmd` to something better
<mps> I guess it is u-boot 2022.10
<mps> ah, yes, I see now in pastebin
<am11> mps: up it is spacemit :D
<am11> yup*
<mps> I've built opensbi and u-boot from their repositories and flashed to mmc but didn't made root and boot filesystems to test rest (short with free time)
goliath has quit [Quit: SIGSEGV]
<am11> i actually am over my head here. this is a dev machine, hobby thing (to help port/testing of dotnet runtime), but now this uart/uboot/flashboot stuff is quite new to me to try out newer kernel. chatgpt suggested kexec, so i was trying it out. however this can/should be used by someone who know what they are doing. :)
<mps> for now armbian kernel is ok to test and play a little with board
<cambrian_invader> if you built/flashed it yourself, then you can modify the bootdelay in menuconfig
<mps> agree, their boot process is somewhat 'strange'
<mps> you can change boot delay in extlinux.conf also (if your u-boot have support for extlinux.conf)
<am11> will try to use armbian kernel with kexec. wish i could just wipe this machine and installed something which is more recent. https://gitee.com/bianbu-linux this is bianbuos, they don't even let me join gitee from finland.. and their newest upcoming kernel version 6.6.. so i don't think this is going to help me in a long run (unless i can filter out
<am11> their patches and build it my own). only need a text mode.
<mps> not sure it can be done in boot.cmd/boot.scr
<mps> I've built this kernel from their repo but it is so buggy it crashes at boot for different reasons
<mps> I guess debian and armbian have patches for it but didn't looked yet
<am11> cambrian_invader: i will try. getting myself educated on these concepts as we speak (and getting some help from chatgpt, well it helped me shop the "right" uart->usbC connector and assemble it so make minicom work between musebook and macbook) :D
<am11> mps: the os which came with musebook preinstalled works ok, i can browse too! (lol), installed llvm and lldb etc. from ubuntu 24.10 repo. so gui is working at least
<am11> however, i don't need any of that.
<am11> (no EFI and stuff under /boot is mightly thin; at least there is uboot under the wraps)
<mps> I didn't tried any GUI but see drivers are already there in kernel
<mps> also I use it only over serial console and ssh
<am11> yup, i mistakenly ran apt upgrade which updated some graphics related packages, after the restrat experience was quite sluggish, so rolled back the package upgrade.
ikarso has joined #u-boot
<am11> `ls /boot` -> bianbu.bmp     env_k1-x.txt       lost+found  System.map-6.1.15 config-6.1.15  initrd.img-6.1.15  spacemit    vmlinuz-6.1.15
<am11> is this the correct place to look for the config (for bootdelay)?
<am11> find / -name menuconfig 2>/dev/null -> nothing :(
wkennington_ has quit [Quit: ZNC - https://znc.in]
wak has joined #u-boot
<mps> am11: looks like no.
<mps> there should be extlinux dir or extlinux.conf file
<am11> found these with u*boot query /sys/firmware/devicetree/base/chosen/u-boot,version  and /sys/firmware/devicetree/base/chosen/u-boot,bootconf
<am11> find / -name  extlinux* 2>/dev/nul yielded no results
<am11> ls /sys/firmware/devicetree/base/chosen | xargs -> bootargs boot-hartid linux,initrd-end linux,initrd-start name stdout-path u-boot,bootconf u-boot,version
<am11> i could have bought an SoC instead.. idk what i was thinking/drinking when i preordered it the day they announced 😅
<mps> can you boot it from mmc (sd card)
Stat_headcrabed has joined #u-boot
Stat_headcrabed has quit [Quit: Stat_headcrabed]
yann-kaelig has joined #u-boot
yann-kaelig has quit []
rvalue has quit [Ping timeout: 252 seconds]
<am11> azrabotchikov-po-tsene-vsego-300&docid=ZVTLoDwvjY8eVM&tbnid=KHCJXFCz4JsQBM&vet=12ahUKEwjX17u6rKeIAxWnQlUIHXF4O9UQM3oECEkQAA..i&w=800&h=451&hcb=2&ved=2ahUKEwjX17u6rKeIAxWnQlUIHXF4O9UQM3oECEkQAA
<am11> tried inserting microsd card, but the port is a bit wide and it doesn't seem to fit. and too small for the SD card adapter
<am11> honestly the "documentation" which came with the box is mighty thing and it missed mentioning of this particular port and the last hole thing with timer-like icon :/
<am11> on the other side, there is uart port and flashboot hole
<mps> it would be strange if it doesn't have mmc slot to boot from it
<am11> 4O9UQM3oECEQQAA..i&w=690&h=388&hcb=2&ved=2ahUKEwjX17u6rKeIAxWnQlUIHXF4O9UQM3oECEQQAA
<am11> i have ubuntu 24.04 usb c, but can't select it / interrupt the boot process
<mps> 'StorageSupports SPI FLASH, eMMC 5.1, SDIO 3.0 SD Card, NVME(PCIe2.1 2x)' - SD Card should be mmc
rvalue has joined #u-boot
<mps> for 300$ doesn't look bad laptop
sugoi has joined #u-boot
<mps> if I need new laptop probably I would buy it
<am11> tomorrow then rn these places are closed :D
<mps> from link I posted above ' It provides a MicroSD card slot....' so probably could be boot from it
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<am11> Y8eVM&tbnid=KHCJXFCz4JsQBM&vet=12ahUKEwjX17u6rKeIAxWnQlUIHXF4O9UQM3oECEkQAA..i&w=800&h=451&hcb=2&ved=2ahUKEwjX17u6rKeIAxWnQlUIHXF4O9UQM3oECEkQAA wwhich is wider than microsd (i tried inserting microsd card there, the one i have, but it's not fitting/clicking). maybe i'm doing it wrong? will bring the laptop with me to the shop tomorrow and ask them
<am11> like a n00b i am :p
<mps> to me it looks on left side near reset hole but need SD Card adapter - shooting in the dark though
<mps> I have such thing on macbook m1pro
jfsimon1981 has quit [Remote host closed the connection]
<am11> i am on macbook M1 too, and the adapter (for full sd card) fits right into it. the one on musebook is a narrower slot (like 3/4th) for full SD and wider than microsd. maybe it is expecting miniSD adapter?
<am11> microsd: 15mm x 11mm x 1mm miniSD: 21.5mm x 20mm x 1.4mm fullSD: 32mm x 24mm x 2.1mm
<mps> ah, could be
<am11> "for 300$ doesn't look bad laptop" -> had to pay additional 120e VAT which came as a surprise invoice from fedex a few days later lol
<mps> didn't knew there are two versions of this thing, all I have are same for computers, video and photo cameras ...
<am11> yup, but if boot from sd card saves me from going through uart u-boot hassle, it's worth it. hopefully that order is default? i already tried usb-c and usb-a, but it seems hard set on nvme boot
<mps> according docs I have for my board boot order is mmc (sdcard), emmc, SPI flash
<mps> though there are switches to change this
eballetbo has quit [Quit: Connection closed for inactivity]
<am11> one way to find out tomorrow :D
<mps> oh yes, now I'm remember I have one very strange SD card adapter
am11 has quit [Quit: Client closed]
<marex> mps: also maybe RS-MMC ?
am11 has joined #u-boot
<mps> marex: have no idea what is it, just remember I have or had it
<marex> mps: half-size MMC card, half-sized in the longer-dimension
<marex> mps: it is more rectangular than minisd which is square-ish
<mps> hm, tomorrow I'll look in garage to see
<mps> iirc I used it on one phone from nineties
<marex> mps: 00s is more like it
<marex> mps: Siemens S65 , from 2004 ...
<mps> I forgot which was it
* mps is not obsessed with gadgets and don't care much for them
ikarso has quit [Quit: Connection closed for inactivity]
atka has quit [Quit: WeeChat 4.4.1]
sugoi has quit [Quit: sugoi]
sugoi has joined #u-boot
___nick___ has quit [Ping timeout: 255 seconds]
naoki has joined #u-boot
ikarso has joined #u-boot
am11 has quit [Quit: Client closed]
naoki has quit [Quit: naoki]
joeskb7 has quit [Quit: Lost terminal]
joeskb7 has joined #u-boot
ldevulder has quit [Quit: Leaving]
atka has joined #u-boot
gsz has quit [Ping timeout: 252 seconds]
mmu_man has quit [Ping timeout: 248 seconds]
naoki has joined #u-boot
mmu_man has joined #u-boot
slobodan has quit [Quit: Leaving]
am11 has joined #u-boot
am11 has quit [Quit: Client closed]
ikarso has quit [Quit: Connection closed for inactivity]
vagrantc has quit [Quit: leaving]
<sjg1> apalos: OK thanks I'll take a look
sugoi has quit [Remote host closed the connection]
sugoi has joined #u-boot