We are using AM5729 Debian 10.3 2020-04-06 1GB SD console image for our AM5729 eval board development, We need to do some changes in u-boot and kernel, Does it possible to get the u-boot and kernel source code for the same image?
I have build the ti-linux-4.19.y with buid_deb.sh, Inside the deploy folder I can see some .deb files but I am not sure that how can I load this images to sd card.
We are not able to bootup our custom am5729 board with prebuild Debian image AM5729 Debian 10.3 2020-04-06 1GB SD console. System is hanging at SPL level it self.
But same image is working on am5729 Eval kit.
Logs:
U-Boot SPL 2019.07-rc4-00001-g607b5b738b (Jul 06 2019 - 21:01:15 -0500)
DRA752-GP ES2.0
Trying to boot from MMC1
no pinctrl state for default mode
unable to get I2C bus. ret 1
tps65903x: could not set LDO1 voltage.
no pinctrl state for default mode
spl_start_uboot
CTRL_CORE_PAD_I2C1_SDA: 0x00060000
CTRL_CORE_PAD_I2C1_SCL: 0x00060000
CTRL_CORE_PAD_GPMC_A0: 0x00060007
CTRL_CORE_PAD_GPMC_A1: 0x00060007
CTRL_CORE_PAD_VIN2A_D4: 0x0005000f
CTRL_CORE_PAD_VIN2A_D5: 0x0005000f
CM_L4PER_GPIO7_CLKCTRL: 0x00000001
CM_L4PER_I2C1_CLKCTRL: 0x00000002
CM_L4PER_I2C4_CLKCTRL: 0x00000002
CM_L4PER_L4_PER1_CLKCTRL 0x00000001
PM_L4PER_I2C1_WKDEP 0x0000b000
RM_L4PER_I2C1_CONTEXT 0x00000002
PM_L4PER_I2C4_WKDEP 0x0000b000
RM_L4PER_I2C4_CONTEXT 0x00000001
BeagleBone: cape eeprom: i2c_probe: 0x54
Checking (ret 1 bus works) I2C1 bus. ret 1
Checking (ret 1 bus works) I2C4 bus. ret -19
BeagleBone: cape eeprom: i2c_probe: 0x55
Checking (ret 1 bus works) I2C1 bus. ret 1
Checking (ret 1 bus works) I2C4 bus. ret -19
BeagleBone: cape eeprom: i2c_probe: 0x56
Checking (ret 1 bus works) I2C1 bus. ret 1
Checking (ret 1 bus works) I2C4 bus. ret -19
BeagleBone: cape eeprom: i2c_probe: 0x57
Checking (ret 1 bus works) I2C1 bus. ret 1
Checking (ret 1 bus works) I2C4 bus. ret -19
Odd… So what image are you really running? The whole premise of these questions was based off using am57xx-debian-10.3-console-armhf-2020-04-06-1gb.img.xz … But the partition layout and the setup of /uEnv.txt and no /boot/uEnv.txt tells me you are running something else…
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0
uname_r=4.19.94-ti-r42
#uuid=
#dtb=
cmdline=coherent_pool=1M net.ifnames=0 rng_core.default_quality=100 quiet
#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M net.ifnames=0 rng_core.default_quality=100 quiet video=HDMI-A-1:1024x768@60e
##enable x15: eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3-no-eeprom.sh
So I thought to build u-boot and kernel from source code, So I have requested same.
After getting repo from you, I have build the u-boot and kernel for custom board but u-boot images was not working on custom board, So we thought first try on Eval board.
We store u-boot and MLO in the master boot record, and then only have one partition… After you use etcher to write the console image to your drive, copy your custom MLO and u-boot via: