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-rc5 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
jaganteki has quit [Ping timeout: 256 seconds]
macromorgan has joined #u-boot
macromorgan has quit [Read error: Connection reset by peer]
macromorgan has joined #u-boot
qschulz has quit [Remote host closed the connection]
qschulz has joined #u-boot
jclsn has quit [Ping timeout: 264 seconds]
jclsn has joined #u-boot
persmule has quit [Remote host closed the connection]
persmule has joined #u-boot
jaganteki has joined #u-boot
mmu_man has quit [Ping timeout: 252 seconds]
enok has joined #u-boot
enok has quit [Ping timeout: 248 seconds]
persmule has quit [Quit: Leaving]
goliath has joined #u-boot
persmule has joined #u-boot
hanetzer has quit [Ping timeout: 246 seconds]
hanetzer has joined #u-boot
persmule has quit [Quit: Leaving]
ikarso has joined #u-boot
persmule has joined #u-boot
monstr has joined #u-boot
jaganteki has quit [Ping timeout: 256 seconds]
alperak has joined #u-boot
sally has quit [Ping timeout: 260 seconds]
sally has joined #u-boot
ldevulder has joined #u-boot
sng has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jaganteki has joined #u-boot
sng has joined #u-boot
persmule has quit [Quit: Leaving]
eballetbo has joined #u-boot
persmule has joined #u-boot
rber|res has joined #u-boot
prabhakalad has quit [Quit: Konversation terminated!]
prabhakalad has joined #u-boot
sszy has joined #u-boot
sng has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
sng has joined #u-boot
jaganteki has quit [Quit: Client closed]
___nick___ has joined #u-boot
<lehmanju> what memory address would I use for FASTBOOT_BUF_ADDR? I am on a qualcomm sm8150 device
goliath has quit [Quit: SIGSEGV]
Stat_headcrabed has joined #u-boot
fatal has joined #u-boot
jaganteki has joined #u-boot
jaganteki has quit [Client Quit]
rber|res has quit [Remote host closed the connection]
sstiller has joined #u-boot
<marex> lehmanju: something in DRAM, see bdinfo output
jaganteki has joined #u-boot
fatal has quit [Remote host closed the connection]
fatal has joined #u-boot
mmu_man has joined #u-boot
monstr has quit [Quit: Leaving]
monstr has joined #u-boot
<quinq> Hi
<quinq> I'm trying to use the gpio command
<quinq> When I run "gpio -a status", I get the synopsis back
<quinq> The synopsis shows that a bank is optional, but maybe I could try with one anyway
<quinq> My problem is that I'm not sure what the command expects, how should I represent a bank in that context?
sstiller has quit [Quit: Leaving]
rber|res has joined #u-boot
jbowen has quit [Ping timeout: 272 seconds]
jbowen has joined #u-boot
<sjg1> MWelchUK: Yes LGTM
<sjg1> MWelchUK: It will need a test of some sort
jaganteki has quit [Quit: Client closed]
goliath has joined #u-boot
guest92 has joined #u-boot
guest92 has quit [Killed (ozone (No Spam))]
macromorgan has quit [Read error: Connection reset by peer]
jaganteki has joined #u-boot
macromorgan has joined #u-boot
dsimic has quit [Ping timeout: 260 seconds]
guest92 has joined #u-boot
dsimic has joined #u-boot
guest92 has quit [Ping timeout: 256 seconds]
guest92 has joined #u-boot
guest92 has quit [Ping timeout: 256 seconds]
mmu_man has quit [Ping timeout: 264 seconds]
vagrantc has joined #u-boot
mmu_man has joined #u-boot
mmu_man has quit [Ping timeout: 248 seconds]
mmu_man has joined #u-boot
goliath has quit [Quit: SIGSEGV]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mmu_man has quit [Ping timeout: 248 seconds]
ldevulder has quit [Quit: Leaving]
ikarso has quit [Quit: Connection closed for inactivity]
___nick___ has quit [Ping timeout: 272 seconds]
___nick___ has joined #u-boot
jerwood has joined #u-boot
mmu_man has joined #u-boot
<jerwood> Hi all—I have a question about accessing eMMC GPP partitions from u-boot. Is it possible to read from them using commands like `ext4load`?
ikarso has joined #u-boot
monstr has quit [Remote host closed the connection]
<marex> jerwood: load mmc 0.1 or some such iirc (instead of : use . to access hw parts)
<jerwood> marex Thanks for the pointer! I'll try that out.
<jerwood> Hmmmm. Haven't managed to find my partition so far. I do see that "." is looked at in `blk_get_device_by_str()`, but I don't know the code well enough to intuit the syntax. I'm testing by trying to list the contents of mmc 0, GPP3. I've put a MSDOS partition table into GPP3 (/dev/mmcblk0gp2 in Linux). I also have a MBR partition in mmc 0 UDA
<jerwood> (/dev/mmcblk0 in linux). I can list that partition with "ext4ls mmc 0:2".
<jerwood> Example result: ext4ls mmc 0.3:1
<jerwood> ** No partition table - mmc 0.3 **
<jerwood> Couldn't find partition mmc 0.3:1
vagrantc has quit [Quit: leaving]
<jerwood> Forty-Bot Thanks! That did the trick—not sure how I hadn't found that page. 🤦‍♂️ I hadn't tried going up that high in partition numbers. Now getting:
<jerwood> ext4ls mmc 0.6:1
<jerwood> <DIR> 1024 .
<jerwood> <DIR> 1024 ..
<jerwood> <DIR> 12288 lost+found
<jerwood>               33 hello_world
<Forty-Bot> iirc you can use `part list` to list partitions
<Forty-Bot> oh, but that's a pretty large hardware partition
<Forty-Bot> are they listed by mmc info?
<Forty-Bot> I don't recall
<jerwood> Yeah, the hwpartitions show up in mmc info:
<jerwood> ZynqMP> mmc info
<jerwood> Device: mmc@ff160000
<jerwood> Manufacturer ID: 13
<jerwood> OEM: 4e
<jerwood> Name: G1M15L
<jerwood> Bus Speed: 187499998
<jerwood> Mode: HS200 (200MHz)
<jerwood> Rd Block Len: 512
<jerwood> MMC version 5.1
<jerwood> High Capacity: Yes
<jerwood> Capacity: 26.5 GiB
<jerwood> Bus Width: 4-bit
<jerwood> Erase Group Size: 512 KiB
<jerwood> HC WP Group Size: 8 MiB
<jerwood> User Capacity: 26.5 GiB ENH WRREL
<jerwood> User Enhanced Start: 0 Bytes
<jerwood> User Enhanced Size: 256 MiB
<jerwood> But I couldn't figure out how to access them with the various tools, until now. Thanks!
<jerwood> 😬
<marex> try mmc part or part list, as Forty-Bot suggested
<Forty-Bot> marex: I think the issue was that his mmc has some general-purpose hardware partitions configured
<marex> do you have partition table in the hw partition or only one filesystem across that entire hw part block device ?
<marex> Forty-Bot: well that is 0.1 / 0.2 / ... 0.1:1 is first (soft) partition in BOOT hw partition I think
<jerwood> Both `mmc part` and `part list` default to showing the logical partitions in the mmc0 user data area.
<marex> jerwood: how did you create the filesystem in that hardware partition ? mkfs.ext* /dev/mmcblkXgpY ?
<marex> or some mkfs.ext* /dev/mmcblkXgpYpZ ?
<jerwood> I used `parted` to make a MSDOS partition table, and then I used mkfs.ext3 on /dev/mmcblk0gp2p1.
<jerwood> er, mkfs.ext4
pgreco_ has quit [Ping timeout: 252 seconds]
<marex> then I think you need to use 'ls mmc 0.5:1'
<jerwood> According to https://docs.u-boot.org/en/latest/usage/partitions.html, "hardware partition 3 is the RPMB partition, and further partitions are general-purpose user-created partitions". So, GPP3 would be at 6. In linux, the GPP's start at 0, instead of 1. So, `mmc 0.6:1` is equivalent to `/dev/mmcblk0gp2p1`.
<jerwood> Much thanks to marex and Forty-Bot for helping me figure this out!
sugoi has joined #u-boot
Stat_headcrabed has joined #u-boot
goliath has joined #u-boot
enok has joined #u-boot
Stat_headcrabed has quit [Quit: Stat_headcrabed]
ikarso has quit [Quit: Connection closed for inactivity]
pgreco has joined #u-boot
eballetbo has quit [Quit: Connection closed for inactivity]
fatal has quit [Ping timeout: 260 seconds]
goliath has quit [Quit: SIGSEGV]
fatal has joined #u-boot
enok has quit [Ping timeout: 246 seconds]
enok has joined #u-boot
mmu_man has quit [Ping timeout: 246 seconds]
___nick___ has quit [Ping timeout: 246 seconds]
hanetzer has quit [Ping timeout: 276 seconds]
hanetzer has joined #u-boot
prabhakalad has quit [Ping timeout: 252 seconds]
jaganteki has quit [Quit: Client closed]
enok has quit [Ping timeout: 260 seconds]
mmu_man has joined #u-boot
slobodan has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
ikarso has joined #u-boot
slobodan_ has joined #u-boot
slobodan has quit [Ping timeout: 245 seconds]
slobodan_ is now known as slobodan
alperak has quit [Quit: Connection closed for inactivity]
redbrain has quit [Read error: Connection reset by peer]
redbrain has joined #u-boot
persmule has quit [Ping timeout: 260 seconds]
slobodan_ has joined #u-boot
slobodan has quit [Ping timeout: 260 seconds]
persmule has joined #u-boot
pbsds37 has joined #u-boot
pbsds3 has quit [Ping timeout: 265 seconds]
pbsds37 is now known as pbsds3
slobodan_ has quit [Ping timeout: 252 seconds]
pgreco has quit [Ping timeout: 252 seconds]
pgreco has joined #u-boot
redbrain has quit [Ping timeout: 252 seconds]
redbrain has joined #u-boot
mmu_man has quit [Ping timeout: 252 seconds]
joeskb7 has quit [Ping timeout: 248 seconds]
mmu_man has joined #u-boot