[<<][am335x][>>][..]
Thu May 3 12:33:20 EDT 2018

Beagle kernel configuration

What I need is two different DTS files:
- beaglebone.org
- buildroot

Looking into
/scp:tom@buildroot.zoo:/home/tom/gw_buildroot/defconfig/linux_bbb.defconfig

CONFIG_ARM_APPENDED_DTB=y

Appens DT to kernel image.  I still don't see where the DTS is at.
Look at the bootloader configuration.

# mount /dev/mmcblk0p1 p1
# cd p1
# ls -al
total 6212
drwxr-xr-x    2 root     root         16384 Jan  1  1970 .
drwxrwxrwt    3 root     root           120 May  3 17:27 ..
-rwxr-xr-x    1 root     root         84396 May  3 16:16 MLO
-rwxr-xr-x    1 root     root         35961 May  3 16:16 am335x-bone.dtb
-rwxr-xr-x    1 root     root         37853 May  3 16:16 am335x-boneblack.dtb
-rwxr-xr-x    1 root     root         36217 May  3 16:16 am335x-bonegreen.dtb
-rwxr-xr-x    1 root     root         42939 May  3 16:16 am335x-evm.dtb
-rwxr-xr-x    1 root     root         41541 May  3 16:16 am335x-evmsk.dtb
-rwxr-xr-x    1 root     root        657632 May  3 16:16 u-boot.img
-rwxr-xr-x    1 root     root           376 May  3 16:16 uEnv.txt
-rwxr-xr-x    1 root     root       5397112 May  3 16:16 zImage

# cat uEnv.txt 
bootpart=0:1
devtype=mmc
bootdir=
bootfile=zImage
bootpartition=mmcblk0p2
set_mmc1=if test $board_name = A33515BB; then setenv bootpartition mmcblk1p2; fi
set_bootargs=setenv bootargs console=ttyO0,115200n8 root=/dev/${bootpartition} rw rootfstype=ext4 rootwait
uenvcmd=run set_mmc1; run set_bootargs;run loadimage;run loadfdt;printenv bootargs;bootz ${loadaddr} - ${fdtaddr}

Let's look at the bootloader inside of it.
loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
board_name=A335BNLT

if test $board_name = A335BNLT; then setenv fdtfile am335x-boneblack.dtb;

How is this all configured?  Is set to use this:
uboot-2018.01/configs/am335x_evm_defconfig


Can't make much sense of this...
Is there a manual or something?
Am I supposed to just know what to do here?

I really need to figure out how the original images are booting.

https://wiki.beyondlogic.org/index.php/BeagleBoneBlack_Building_Kernel




[Reply][About]
[<<][am335x][>>][..]