Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2021.07 is OUT / Merge Window is OPEN until 26 July 2021 / Release v2021.10 is scheduled for 04 October 2021 / http://www.denx.de/wiki/U-Boot / Channel archives at https://libera.irclog.whitequark.org/u-boot
jeramiah has quit [Ping timeout: 250 seconds]
macromorgan has joined #u-boot
jeramiah has joined #u-boot
jwillikers has quit [Remote host closed the connection]
mmu_man has quit [Ping timeout: 272 seconds]
tuxlovesyou has joined #u-boot
vagrantc has quit [Quit: leaving]
agust has joined #u-boot
fdanis_away is now known as fdanis
sbach has quit [Read error: Connection reset by peer]
sbach has joined #u-boot
frieder has joined #u-boot
frieder has quit [Ping timeout: 272 seconds]
sszy has joined #u-boot
guillaume_g has joined #u-boot
frieder has joined #u-boot
matthias_bgg has joined #u-boot
redbrain has joined #u-boot
Guest6611 has quit [Quit: ZNC 1.8.2 - https://znc.in]
birkoff has joined #u-boot
birkoff has joined #u-boot
birkoff has quit [Changing host]
jeramiah has quit [Ping timeout: 240 seconds]
jeramiah has joined #u-boot
jeramiah has quit [Ping timeout: 272 seconds]
mmu_man has joined #u-boot
jwillikers has joined #u-boot
georgem has joined #u-boot
jwillikers has quit [Remote host closed the connection]
frieder has quit [Ping timeout: 272 seconds]
frieder has joined #u-boot
LokeshVutla has joined #u-boot
frieder has quit [Ping timeout: 256 seconds]
frieder has joined #u-boot
macromorgan has quit [Read error: Connection reset by peer]
jeramiah has joined #u-boot
sszy has quit [Ping timeout: 272 seconds]
redbrain has quit [Quit: leaving]
macromorgan has joined #u-boot
<override> ls
<override> exit
<mrnuke> ls: cannot access '': No such file or directory
<mrnuke> bash: exit: command not found...
<override> sorry, was trying to xit out of screen :P
<override> exit****
<mrnuke> override: isn't it Ctrl-A, Ctrl-D ?
<override> thanks :)
<override> so, lets say I've set bootargs to something and I let uboot run a bootm / bootz
<override> how can I detect that the system booted successfully ?
frieder has quit [Remote host closed the connection]
BWhitten has joined #u-boot
<mrnuke> detect where? In u-boot or in the OS? The OS is quite simple given that by just existing, the boot was succesful
<override> mrnuke: from uboot...
<override> if the rootfs partition gets changes or something and that partiton doesnt work, is uboot given back control? lets say if a bootz. or bootm fails?
<override> changed*
EdSwarthout has joined #u-boot
fdanis is now known as fdanis_away
solar_sea has joined #u-boot
<qschulz> override: only if the kernel "magic" is corrupted, then bootz/bootm will fail early before starting the kernel. otherwise, you can make your HW restart by starting a HW watchdog that you disable very early in the initramfs (or whenever you decide a boot is successfull)
<override> im a little lost with bootargs, I cant find the default / standard version for bootargs when I do a printenv. are they not always set?
<cambrian_invader> usually they are generated by bootcmd
<override> cambrian_invader: is there a way to override them, I see bootargs are getting generated by boot.scr
<cambrian_invader> depends on the contents of boot.scr
<override> so I cant really make the bootargs I set take precedence without changing the current boot.scr?
<mrnuke> override: if "previous boot" was succesful I prefume. You'd need a handshake mechanism between flu-boot and OS. Perhaps usinf fw_setenv in the OS. RAUC has a similar mechanism
matthias_bgg has quit [Quit: Leaving]
<cambrian_invader> if you are using bootcount, you can set altbootcmd to whatever
<override> camrian_invader whats bootcount?
<override> cambrian_invader: i dont see either under printenv
<cambrian_invader> see doc/README.bootcount
gsz has joined #u-boot
<override> cambrian_invader can you link me the manual, still in the process of familiarizing myself with the u-boot project
<cambrian_invader> just go to the u-boot repo and there is a doc directory
<override> thanks
<override> cambrian_invader: ok cool, I get bootcount..
<override> can you suggest some way of overrideing whats in boot.scr for bootargs in particlar
<cambrian_invader> depends on your boot.scr
<cambrian_invader> generally, they will have something like set_bootargs="
cambrian_invader has left #u-boot [No boundaries on the net!]
cambrian_invader has joined #u-boot
<cambrian_invader> err, like set_bootargs="env set bootargs ${serial} ${root}" and so you can override serial and root or whatever
<cambrian_invader> but if they haven't done that you're out of luck
<override> my boot.scr is super weird looking - env set bootcmd_args 'run rootfsargs_set && env set bootargs ${defargs} ${rootfsargs} ${setupargs} ${vidargs} ${tdxargs}'
<cambrian_invader> ok, so pick one of those variables
<cambrian_invader> and see if you can override it
<override> only thing boot.scr can possibly read from in whats shown in printenv right?
<override> no scriots are run before boot.scr?
<cambrian_invader> not unless you load something else
<override> my boards using the standard distro-uboot thing
<override> so im guessing ntohing else gets loaded as such
<override> just the strings setting up bootcmd..
gsz has quit [Quit: Lost terminal]
<override> I forgot how the rootfs partition in bootargs was specified, is it numeric or do u give like a /dev path?
LokeshVutla has quit [Quit: Leaving]
<override> whats this line doing part uuid ${root_devtype} ${root_devnum}:${root_part} uuid
vagrantc has joined #u-boot
torez has joined #u-boot
<cambrian_invader> override: you can always run "help some_command" to get a synopsis
<cambrian_invader> there is also https://u-boot.readthedocs.io/en/latest/usage/index.html which is unfortunately incomplete
_whitelogger has joined #u-boot
<tuxlovesyou> anyone here remember using an MPC8572ds?
<tuxlovesyou> U-boot is giving me a "bad magic number" error and I've tried rebuilding the kernel multiple times. Does the kernel image need to know about the load location in memory in compilation or can it be arbitrarily determined when I load it in U-boot?
<tuxlovesyou> file tells me the kernel is 32-bit PowerPC, but is there still something wrong with my toolchain, you reckon?
<tuxlovesyou> sorry to bring up old stuff, but does anybody remember using U-boot on Freescale PPC development boards?
Luker has quit [Quit: ZNC - http://znc.in]
Luker has joined #u-boot
torez has quit [Quit: torez]
guillaume_g has quit [Quit: Konversation terminated!]
tuxlovesyou has quit [Remote host closed the connection]
agust has quit [Quit: Leaving.]
cyrozap has quit [Ping timeout: 272 seconds]
cyrozap has joined #u-boot
tuxlovesyou has joined #u-boot
<tuxlovesyou> /join toybox
<tuxlovesyou> oops
jwillikers has joined #u-boot
jwillikers has quit [Remote host closed the connection]