Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2024.04, v2024.07-rc4 are OUT / Merge Window is CLOSED, next branch is OPEN / Release v2024.07 is scheduled for 01 July 2024 / Channel archives at https://libera.irclog.whitequark.org/u-boot
<Forty-Bot> isn't it from linux Kconfig?
<marex> Forty-Bot: I was told it predates Kconfig
logicalerzor has quit [Quit: Connection closed for inactivity]
MrCryo has joined #u-boot
zibolo has quit [Ping timeout: 264 seconds]
zibolo has joined #u-boot
tlwoerner has joined #u-boot
MrCryo has quit [Remote host closed the connection]
Jones42__ has joined #u-boot
Jones42_ has quit [Ping timeout: 268 seconds]
mmu_man has quit [Ping timeout: 264 seconds]
jclsn has quit [Ping timeout: 268 seconds]
jclsn has joined #u-boot
LeSpocky has quit [Ping timeout: 264 seconds]
LeSpocky has joined #u-boot
Clamor has joined #u-boot
wooosaiiii1 has joined #u-boot
wooosaiiii has quit [Ping timeout: 264 seconds]
wooosaiiii1 is now known as wooosaiiii
stefanro has joined #u-boot
naoki has quit [Quit: naoki]
naoki has joined #u-boot
rfs613 has quit [Ping timeout: 260 seconds]
logicalerzor has joined #u-boot
goliath has joined #u-boot
Jones42_ has joined #u-boot
Jones42__ has quit [Ping timeout: 260 seconds]
alan_o has quit [Remote host closed the connection]
alan_o has joined #u-boot
alan_o has quit [Remote host closed the connection]
alan_o has joined #u-boot
rfs613 has joined #u-boot
monstr has joined #u-boot
wooosaiiii has quit [Quit: wooosaiiii]
monstr has quit [Ping timeout: 252 seconds]
alperak has joined #u-boot
jfsimon1981_c has quit [Remote host closed the connection]
jfsimon1981_c has joined #u-boot
redbrain has quit [Read error: Connection reset by peer]
redbrain has joined #u-boot
Jones42_ has quit [Ping timeout: 240 seconds]
frieder has joined #u-boot
mckoan|away is now known as mckoan
enok has joined #u-boot
enok has quit [Remote host closed the connection]
wooosaiiii has joined #u-boot
enok has joined #u-boot
enok has quit [Client Quit]
frieder has quit [Ping timeout: 255 seconds]
naoki has quit [Quit: naoki]
prabhakalad has quit [Quit: Konversation terminated!]
prabhakalad has joined #u-boot
sszy has joined #u-boot
frieder has joined #u-boot
monstr has joined #u-boot
thopiekar has quit [Ping timeout: 252 seconds]
thopiekar has joined #u-boot
Clamor has quit [Read error: Connection reset by peer]
enok has joined #u-boot
edwinistrator23 has joined #u-boot
edwinistrator23 has quit [Remote host closed the connection]
edwinistrator23 has joined #u-boot
Clamor has joined #u-boot
Clamor has quit [Ping timeout: 252 seconds]
frieder has quit [Ping timeout: 268 seconds]
logicalerzor has quit [Quit: Connection closed for inactivity]
<quinq> Hi
<quinq> Is it expected that the dhcp command does not update ipaddr/netmask in the env, after a successful (and applied) DHCP request?
<quinq> Case is: env set ipaddr x.x.x.x; dhcp; env print ipaddr
<quinq> This doesn't print the ip aquiried by dhcp, but the ip set manually
<mps> quinq: IDK for sure but this look how it should work
<quinq> I'm currently looking for a potential configuration option to allow dhcp/bootp command to set the env
<mps> i.e. dhcp don't have to set any env var
<quinq> ah :)
<mps> well :)
<quinq> But then there's no way to know the current network settings, is there?
<mps> there is but I forgot what is command to list network parameters
<mps> and don't have now any real board to check
<quinq> Ah, right, I think I already had this point “clarified” last week, there's apparently a 'net' command in newer U-Boot, but not in my 2019 version…
frieder has joined #u-boot
<mps> aha, yes. I forgot for it
<mps> net list? maybe
<quinq> Possible, but I won't be able to verify that ^^
<quinq> Anyway, thanks mps, that's a bit clearer now
<mps> np
<mps> I'm just started u-boot sandbox but it is new one 2024.04
enok has quit [Ping timeout: 268 seconds]
Clamor has joined #u-boot
<f_> logicalerzor: It wasn't a comment to disable something
naoki has joined #u-boot
mckoan is now known as mckoan|away
Clamor has quit [Ping timeout: 246 seconds]
prabhakalad has quit [Ping timeout: 268 seconds]
prabhakalad has joined #u-boot
prabhakalad has quit [Ping timeout: 264 seconds]
prabhakalad has joined #u-boot
<LeSpocky> so … ubifs_umount() leads to 'data abort' under certain conditions on at91 sama5d2 … *sigh*
mmu_man has joined #u-boot
enok has joined #u-boot
edwinistrator23 has quit [Read error: Connection reset by peer]
enok has quit [Quit: enok]
enok71 has joined #u-boot
enok71 is now known as enok
Jones42 has joined #u-boot
Jones42 has quit [Ping timeout: 272 seconds]
enok has quit [Ping timeout: 255 seconds]
Jones42 has joined #u-boot
Jones42_ has joined #u-boot
Jones42 has quit [Ping timeout: 256 seconds]
Jones42_ has quit [Ping timeout: 256 seconds]
wooosaiiii has quit [Remote host closed the connection]
<LeSpocky> one pointer of ubi internal data structures used in ubi_close_volume() points to an address outside of the physical memory, but why and why only in certain situations but not in others?
Stat_headcrabed has joined #u-boot
ellyq has joined #u-boot
tgamblin has quit [Remote host closed the connection]
tgamblin has joined #u-boot
mmu_man has quit [Ping timeout: 268 seconds]
BobBeck3 has quit [Quit: The Lounge - https://thelounge.chat]
BobBeck3 has joined #u-boot
BobBeck3 has quit [Client Quit]
naoki has quit [Quit: naoki]
BobBeck3 has joined #u-boot
<LeSpocky> seems like ubi_close_volume() gets a wrong parameter passed, pointing in some string "ng.." instead of a 'struct ubi_volume_desc' … dafuq
Kasreyn has joined #u-boot
<LeSpocky> so something must have messed up 'struct ubifs_info *c' member 'ubi' before?
<Kasreyn> anyone know how to create a binary that can be flashed directly to the SPI BIOS chip? (intended for Chromebook XE303 / snow_defconfig)
<Kasreyn> i found this but i get an error trying to build .. https://lists.denx.de/pipermail/u-boot/2019-January/356980.html
dsimic has quit [Ping timeout: 268 seconds]
dsimic has joined #u-boot
goliath has quit [Quit: SIGSEGV]
mmu_man has joined #u-boot
<mps> Kasreyn: some years ago Javier Canilas (then worked at samsung) explained to me how to do this for peach-pi but now this site where it is described doesn't exists
<mps> iirc, it is done to use unsigned u-boot and flash it, but don't take my words seriously (writing from faded away memory)
<mps> cah yes, looks like it is saved on archive.org. thanks for link
edwinistrator23 has joined #u-boot
<mps> s/cah/ah/
<Kasreyn> it mentions "servo method" but i want to use the XGecu Pro programmer since i have made a jig (wires sticking out of the Chromebook)
<mps> yes, if you have external programmer I think it is safe. just make copy of original flash content if need to reflash to original
<Kasreyn> so this cros_bundle_firmware script is what is needed? in the examples it is writing to SD card .. it can write a normal image?
<mps> years passed and I forgot details. but with hardware device to flash chip on the board it is possible to flash anything
<mps> ofc also it is possible to flash from booted OS with command flashrom iirc proper name of command
<Kasreyn> so i recovered the device from brick (the eMMC is not responding) by unpacking and reflashing bios.rom from recovery image. it's basically just "losetup --show -f -P chromeos_12105.100.0_daisy_recovery_stable-channel_snow-mp-v4.bin" then "/mnt/usr/bin/chromeos-firmwareupdate --sb_extract directory"
frieder has quit [Remote host closed the connection]
yann-kaelig has joined #u-boot
<Kasreyn> but yes i made a backup before programming it (i heard it contains a serial number etc) it was already in developer mode not sure if CTRL+U worked before but it certainly did after flashing bios.rom
monstr has quit [Remote host closed the connection]
<ellyq> newer arm chromebooks have 8mb spi chip, no idea about ancient ones like snow
<ellyq> i think it's safe to assume they have at least 2MB SPI though
<Kasreyn> ellyq: snow has (4MB) W25Q32DW : 1.8V 32M-BIT SERIAL FLASH MEMORY WITH DUAL/QUAD SPI & QPI Winbond
<Kasreyn> at least my XE303 has that chip :)
<ellyq> Kasreyn: oh, then you should be able to just `flashrom -p internal -w image.rom`
<Kasreyn> sure but i need to either build image.rom or download a prebuilt one :)
<ellyq> well, defconfig should be sane for thet
<Kasreyn> and it has to be a more recent version of U-Boot that supports bootz command
<Kasreyn> the code needs to be signed though?
<ellyq> no, BootROM on chromebooks never checks the signature of secondary payload
<ellyq> s/never checks/doesn't check
<ellyq> I'm currently working on u-boot support for MediaTek ones, so on MT8173, MT8183 and MT8186 i can swap the entire SPI image and have BootROM load it just fine without VBOOT or any other checks (though coreboot on MT8183 is currently completely broken)
<Kasreyn> so would it make sense to make snow_defconfig then flash u-boot-dtb.bin directly to SPI chip?
<ellyq> if you need zboot, i would do `make snow_defconfig` and then `make nconfig`, look for the options you want to add, save it and build
<Kasreyn> very nice ellyq.. i have the Acer Spin 311 MTK.. want try that at some point :)
<ellyq> Kasreyn: which one is that? kukui? corsola?
<Kasreyn> jacuzzi i think
<ellyq> so kukui
<ellyq> right now we have this POC: https://github.com/FyraLabs/submarine
<marex> sjg1: ^
<Kasreyn> is it yellow :)
<ellyq> haha, not really :P
<ellyq> it works pretty well for ~2 days of work though, framebuffer on MTK is a PITA though
<ellyq> (potato tomato, but you get the idea)
gsz has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
warpme has joined #u-boot
warpme has quit [Client Quit]
tlwoerner has quit [Remote host closed the connection]
tlwoerner_ has joined #u-boot
stefanro has quit [Quit: Leaving.]
enok has joined #u-boot
clarity has quit [Ping timeout: 268 seconds]
clarity has joined #u-boot
logicalerzor has joined #u-boot
warpme has joined #u-boot
goliath has joined #u-boot
enok has quit [Ping timeout: 256 seconds]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
<Kasreyn> XE303 doesn't want to boot (black screen and auto shut off) with u-boot-dtb.bin flashed to SPI chip, https://github.com/sglass68/u-boot.git 25d82263a3f296cc568ed1ed5adee3cf60ce7669, make snow_defconfig && CROSS_COMPILE=arm-linux-gnueabihf- make -j20, gcc-linaro-6.1.1-2016.08-x86_64_arm-linux-gnueabihf
<ellyq> welp, sounds like you need to hook-up UART
enok has joined #u-boot
<mps> ellyq: I have also acer R13 (elm) chromebook which is MT8173 so if you have something for it maybe I could test
alperak has quit [Quit: Connection closed for inactivity]
<ellyq> mps: I initially dismissed that machine because I didn't have time to work on GX6250 but now that Google got it working, i will add it to the list... once I manage to solder UART to SERVO header
<mps> nice to hear
<Kasreyn> i belive this needs to be merged into the resulting image (we can't just flash the raw U-Boot binary to the SPI chip): https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/exynos-pre-boot-0.0.2-r10.tbz2 (it contains E5250.nbl1.bin which has some recognizable bytes viewed with a hexeditor)
enok has quit [Ping timeout: 268 seconds]
joeskb7 has joined #u-boot
rvalue- has joined #u-boot
rvalue has quit [Ping timeout: 264 seconds]
rvalue- is now known as rvalue
logicalerzor has quit [Quit: Connection closed for inactivity]
yann-kaelig has quit []
naoki has joined #u-boot
alan_o has quit [Remote host closed the connection]
alan_o has joined #u-boot
Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2024.04, v2024.07-rc5 are OUT / Merge Window is CLOSED, next branch is OPEN / Release v2024.07 is scheduled for 01 July 2024 / Channel archives at https://libera.irclog.whitequark.org/u-boot
gsz has quit [Ping timeout: 268 seconds]
Jones42_ has joined #u-boot
Jones42_ has quit [Remote host closed the connection]
jistr has joined #u-boot
joeskb7 has quit [Quit: Lost terminal]
persmule has quit [Ping timeout: 260 seconds]
persmule has joined #u-boot
macromorgan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
macromorgan has joined #u-boot
joeskb7 has joined #u-boot
macromorgan has quit [Client Quit]
goliath has quit [Quit: SIGSEGV]
macromorgan has joined #u-boot
macromorgan has quit [Client Quit]
macromorgan has joined #u-boot
macromorgan has quit [Client Quit]
macromorgan has joined #u-boot
macromorgan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
macromorgan has joined #u-boot
macromorgan has quit [Client Quit]
macromorgan has joined #u-boot
persmule has quit [Remote host closed the connection]
ikarso has quit [Quit: Connection closed for inactivity]