-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buildroot configs for pocketbeagle with lastest Linux kernel version and with all pocketbeagle's hardware support? #2
Comments
@RobertCNelson Thanks for quick answer! I tried some old beaglebone_defconfig and board stuck at uboot stage with endless timer error. I will try suggested defconfig by you and reply. |
PS, you'll need to add teh PocketBeagle *.dtb to: https://github.com/buildroot/buildroot/blob/master/configs/beaglebone_defconfig#L26
PS, if you change:
to:
and
to:
and you'll have all the latest fixes, along with the kichen sink config.. Regards, |
Should I add "am335x-pocketbeagle" to BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-evm am335x-bone am335x-boneblack am335x-bonegreen am335x-evmsk am335x-boneblue" and then "am335x-pocketbeagle.dtb" to: |
Correct! |
not sure about this line: |
looks like a broken eeprom, nuke it.. |
|
sorry, didn't relize it appended.. use |
for quick hack i chose
The uEnv.txt:
Sory I didn't get point of looks like a broken eeprom, nuke it.. |
it selected the right one.. |
The 4 years old uEnv.txt (it worked with old kernel):
Same results. |
Maybe this is the reason /root/buildroot/output/build/uboot-2021.04/.config:
will try to CONFIG_TIMER_EARLY=y
I tried just copy uboot files to SD from old buildroot repo and board boot's but stuck on: Tried newest uboot release:
|
Will try the uboot settings from https://github.com/beagleboard/buildroot/blob/beagle-tester/configs/pocketbeagle_defconfig |
SD uboot Deb.zip |
buildroot should have a rootfs.img or something, anyways use their recommend partition layout.. |
@RobertCNelson, what _defconfig is using for official beagle Debian uboot build? I want to try integrate it in buildroot and create an instruction for all. |
This branch: https://github.com/beagleboard/u-boot/tree/v2021.10-bbb.io-am335x This config: am335x_evm_defconfig Regards, |
Me again. @RobertCNelson, I have some progress. Board is now booting in to a login prompt. No manually copying files to SDcard needed. The setup is:
Anyway after success build and login, I found that the
# ls /dev ...
SPI and ttyUSB* are now present, but it's feels like a very dirty hack and I'm not sure every device will work properly so I want to please you, if its possible, to check config files and pocketbeagle's board folder so the instruction on how to create a properly working board by hardware only ( the software should be on user responsibility by PS. : There are some errors on boot with tells that atleast uboot is configured in unproper way (by edditing techlab files). The UART booting log ...U-Boot SPL 2018.03-rc4 (Dec 05 2021 - 09:50:31 -0500) U-Boot 2018.03-rc4 (Dec 05 2021 - 09:50:31 -0500) CPU : AM335X-GP rev 2.1 Flattened Device Tree blob at 88000000Booting using the fdt blob at 0x88000000 Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 Welcome to Buildroot 2021.11-rc3! [ 2.796248] systemd[1]: Hostname set to . Welcome to Buildroot Regards. |
The PocketBeagle board with official Debian image boot's in about 2 minutes. That's quite long for Embedded purposes so I was looking for some Embedded Linux for PocketBeagle. Buildroot is the case, but unfortunately all instructions and repo's are about 4 years old and uses Linux/arm 4.14.18 Kernel witch is quite old and does not support lots of features and hardware.
I was success on booting the board with some fixes and patches using this instruction (all booting time took 9 seconds, which is nice), but still after the boot complete in /dev folder only few devices are present (no SPI, PRU, USB and so on). Then I tried copy some board configs from beagleboard repo and build with new kernel, but lots of errors occurs on building step. After spending 4 days trying different cases/configs and settings I give-up)
It would be nice to create buildroot PocketBeagle board config files for embedded proposes that include all SBC hardware devices integration and initialization so it could be a good starting point for developers. I can help with testing and writing the instruction cuz my Linux editing knowledge are far from required level.
The text was updated successfully, but these errors were encountered: