<SINGARAVELAN>
BeagleBone® AI Board, indian dealers list?
SINGARAVELAN has quit [Client Quit]
florian has joined #beagle
Shadyman has quit [Quit: Leaving.]
starblue has quit [Ping timeout: 260 seconds]
starblue has joined #beagle
Posterdati has joined #beagle
Reza has joined #beagle
xet7 has quit [Quit: Leaving]
xet7 has joined #beagle
SJFriedl has quit [Quit: Leaving]
SJFriedl has joined #beagle
demirok has quit [Quit: Leaving.]
Reza has quit [Quit: Client closed]
ikarso has quit [Quit: Connection closed for inactivity]
demirok has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
brook has quit [Ping timeout: 268 seconds]
doppo has quit [Remote host closed the connection]
doppo has joined #beagle
KevinP has joined #beagle
brook has joined #beagle
KevinP has quit [Quit: Client closed]
ikarso has joined #beagle
Guest4494 has joined #beagle
<Guest4494>
What controls which gpios get created automatically under /sys/class/gpio/ ?
<Guest4494>
I know I can create additional directories/gpios myself after the fact, but I'm asking about what mechanism creates the ones that are already there.
rob_w has quit [Quit: Leaving]
buzzmarshall has joined #beagle
<zmatt>
Guest4494: gpios can be configured and exported via device-tree (by creating a gpio-of-helper device). cape-universal (if enabled, which it is by default) does this for all gpios
<zmatt>
all gpios corresponding to P9/P8 expansion header pins that is
<Guest4494>
zmatt, that seems more complicated than making gpio settings in uEnv.txt. Or am I misunderstanding?
<zmatt>
I don't know what you mean by that
<zmatt>
there's no way to "make gpio settings in uEnv.txt"
<zmatt>
gpios can either be configured at runtime (which is what most people do), or they can be given a default config via device-tree
florian has quit [Quit: Ex-Chat]
ikarso has quit [Quit: Connection closed for inactivity]
<Guest4494>
(Sorry, got pulled away.) I just meant that one can, say, set a gpio to output using u-boot's 'gpio set' command and placed in uEnv.txt.
Guest4494 has quit [Quit: Client closed]
Guest4494 has joined #beagle
<Guest4494>
(Sorry, got pulled away.) I just meant that one can, say, set a gpio to output using u-boot's 'gpio set' command and placed in uEnv.txt.
<jkridner>
you can add that sort if thing to the uenvcmd variable, if still there.
ikarso has joined #beagle
MAri has joined #beagle
<MAri>
HI! How can I contact your sales team?
MAri is now known as Guest8469
Guest8469 has quit [Client Quit]
renrelkha has quit [Quit: bye]
Guest65 has joined #beagle
<Guest65>
hi am using beagle bone xm its a old board lying with me can anyone help me with putting os in sdcard where to download and flash with etcher and start using the board
renrelkha has joined #beagle
Guest65 has quit [Quit: Client closed]
zjason`` has joined #beagle
zjason` has quit [Ping timeout: 265 seconds]
<jfsimon1981>
Hi, I believe this is a community channel instead MAri
<jfsimon1981>
Slaes at the beaglebone site porobably if you need contact
KevinP has joined #beagle
xet7 has quit [Ping timeout: 268 seconds]
rah has joined #beagle
<rah>
I'm trying to create a bootable disk image for a beagleboard x-15; I've compiled u-boot and dd'd MLO and u-boot.img to an sd card but it's not booting
<rah>
to compile, I did "make CROSS_COMPILE=arm-linux-gnueabihf- am57xx_evm_defconfig" followed by "make CROSS_COMPILE=arm-linux-gnueabihf- -j20"
<rah>
to dd, I did "sudo dd if=MLO of=/dev/sde conv=notrunc count=2 seek=1 bs=128k" followed by "sudo dd if=u-boot.img of=/dev/sde conv=notrunc count=4 seek=1 bs=384k"
<rah>
any ideas why it might not be working?
<rah>
nevermind, I've seen the problem: the u-boot.img is bigger than (count=)4 * (bs=)384k
<rah>
thank you, cardboard developer
brook has quit [Read error: Connection reset by peer]
brook_ has joined #beagle
<zmatt>
Guest4494: oh, that's what you meant... ew? are you using some kind of ancient image? I feel like I haven't seen u-boot commands in an uEnv.txt the last decade or so :P anything you do to gpios in u-boot would normally be undone by the kernel if the gpios are exported by DT, which on current images by default happens to all pins
<zmatt>
so I'm guessing you're either using an image that predates cape-universal or you've explicitly disabled it
<zmatt>
(in retrospect I should have guessed that from your question about automatically exporting gpios)
xet7 has joined #beagle
<rah>
hmm, when I zero the first 10M of the SD card and write MLO/u-boot.img, the card boots fine; when I have a partition table and root FS and write ML/u-boot.img, the card does not boot; any ideas why?
brook_ has quit [Read error: Connection reset by peer]
brook has joined #beagle
brook has quit [Read error: Connection reset by peer]
brook_ has joined #beagle
<zmatt>
rah: can you hexdump the first 257 sectors of the non-working case? i.e. dd if=DEVICE count=257 status=none | hexdump -C
<zmatt>
btw you can just omit the count= argument to dd to avoid the problem you had earlier
<zmatt>
also instead of messing with the blocksize I'd just specify a proper seek value, i.e. "seek=256" instead of "seek=1 bs=128k" and "seek=768" instead of "seek=1 bs=384k"
<zmatt>
or if you really want to write in 128k blocks then at least "seek=3 bs=128k" instead for the u-boot.img ... using a blocksize of 384k is just kinda gross :P
brook_ has quit [Read error: Connection reset by peer]
brook has joined #beagle
<zmatt>
anyway, the only thing I can think of is... if there's crud in the initial bytes of sector 0 (the space for the MBR) then maybe bootrom mistakenly thinks it's an MLO and tried to load and execute it