[beagleboard] BeagleBone Black and Buildroot with CAN and power support

2020-05-16 Thread Szymon Kempny
Hello, For w few days i try to build Linux image with Buildroot which support CAN0 and CAN1 interface. I successfully use those interfaces with Debian image provided by BeagleBone.org, but this official image has a lot of stuff which i don't need and also has a very long booting time. I build

[beagleboard] [buildroot] Enable power button in BBB

2020-05-21 Thread Szymon Kempny
How to enable power button in Beaglebone Black Rev C? Here is my device tree from i2c and tps: i2c0_pins: pinmux_i2c0_pins { pinctrl-single,pins = < AM33XX_IOPAD(0x988, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */ AM33XX_IOPAD(0x98c, PIN_INPUT_PULLUP |

Re: [beagleboard] [buildroot] Enable power button in BBB

2020-05-21 Thread Szymon Kempny
RobertCNelson napisał: > > On Thu, May 21, 2020 at 7:06 PM Szymon Kempny > wrote: > > > > How to enable power button in Beaglebone Black Rev C? > > Here is my device tree from i2c and tps: > > > > i2c0_pins: pinmux_i2c0_pins { > >pinctrl-singl

[beagleboard] How to flash the eMMC on BBB

2020-06-02 Thread Szymon Kempny
Hello, how to flash system image created by buildroot to internal eMMC memory in BBB? Here is what I'm doing: 1. Build image with buildroot 2. Write sdcard.img to SD card 3. Boot BBB from SD card 4. Increase root partition on SD card: resize2fs /dev/mmcblk0p2 5. scp sdcard.img from PC to BBB:

[beagleboard] Re: How to flash the eMMC on BBB

2020-06-02 Thread Szymon Kempny
It looks like the eMMC is properly recognized by uBoot: => mmcinfo > Device: OMAP SD/MMC > Manufacturer ID: 70 > OEM: 100 > Name: M6270 > Bus Speed: 4800 > Mode: MMC High Speed (52MHz) > Rd Block Len: 512 > MMC version 5.1 > High Capacity: Yes > Capacity: 3.6 GiB > Bus Width: 8-bit > Erase

Re: [beagleboard] Re: How to flash the eMMC on BBB

2020-06-03 Thread Szymon Kempny
gt; On Jun 2, 2020, at 7:40 PM, Szymon Kempny > > wrote: > > Yes, of course: > > > => printenv >> arch=arm >> args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} >> root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype} >> baudrate=115

Re: [beagleboard] Re: How to flash the eMMC on BBB

2020-06-02 Thread Szymon Kempny
t=/dev/mtdblock4 rw > spirootfstype=jffs2 > spisrcaddr=0xe > static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off > stderr=serial@44e09000 > stdin=serial@44e09000 > stdout=serial@44e09000 > update_to_fit=setenv loadaddr ${fit_loadaddr}; setenv bootfile