Forums › Devices › OSD335x-BAS/IND › OSD3358 Boot
Hello,
I developed my pcb with the OSD3358 are i having trouble starting the OSD3358.
In conversation with somebody of octavo systems:
The OSD need the EEPROM 24LC32AT-I/OT? And circuit configurator in attachment?
Somebody can help me?
David,
The Beagle images require the EEPROM programmed with a board ID in order for them to boot. See https://octavosystems.com/forums/topic/issues-booting-custom-board/#post-4608 for more information. You can also update your Beagle image with a new u-boot using the following procedure to bypass the EEPROM ID check:
– Create an SD card with the latest Beagle image or the image you want to use by following the procedure in https://beagleboard.org/getting-started
– In an Ubuntu machine or a VM that runs Ubuntu, download and compile u-boot:
1. Download the ARM cross-compiler GCC. Note the pwd in code line 3 needs a special character “`” on both sides
– wget -c https://releases.linaro.org/components/toolchain/binaries/6.4-2017.11/arm-linux-gnueabihf/gcc-linaro-6.4.1-2017.11-x86_64_arm-linux-gnueabihf.tar.xz
– tar xf gcc-linaro-6.4.1-2017.11-x86_64_arm-linux-gnueabihf.tar.xz
– export CC=`pwd`/gcc-linaro-6.4.1-2017.11-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
2. Download u-boot
– git clone https://github.com/u-boot/u-boot
– cd u-boot/
– git checkout v2018.01 -b tmp
3. Get the patches (Needs internet connection)
– wget -c https://rcn-ee.com/repos/git/u-boot-patches/v2018.01/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch
– wget -c https://rcn-ee.com/repos/git/u-boot-patches/v2018.01/0002-U-Boot-BeagleBone-Cape-Manager.patch
– wget -c https://raw.githubusercontent.com/RobertCNelson/Bootloader-Builder/master/patches/v2018.03-rc1/0002-NFM-Production-eeprom-assume-device-is-BeagleBone-Bl.patch
4. Apply patches to u-boot
– patch -p1 < 0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch
– patch -p1 < 0002-U-Boot-BeagleBone-Cape-Manager.patch
– patch -p1 < 0002-NFM-Production-eeprom-assume-device-is-BeagleBone-Bl.patch
5. Configure and Build
– make ARCH=arm CROSS_COMPILE=${CC} distclean
– make ARCH=arm CROSS_COMPILE=${CC} am335x_evm_defconfig
– make ARCH=arm CROSS_COMPILE=${CC}
6. Attach the SD card to the computer and run ‘lsblk’ to find out the id of the SD card. In our case the id was ‘sdb’
7. Install bootloader:
– export DISK=/dev/sdb
– sudo dd if=./u-boot/MLO of=${DISK} count=1 seek=1 bs=128k
– sudo dd if=./u-boot/u-boot.img of=${DISK} count=2 seek=1 bs=384k
This installs a new version of u-boot that does not check the EEPROM. If you insert the SD card into the
board and power it up holding down boot button, you should be able to see the user LEDs light up.
Hope this helps.
Thanks,
Neeraj
Hi Neeraj,
We have some difficulties in section 5., some errors appeared.
” 5. Configure and Build
– make ARCH=arm CROSS_COMPILE=${CC} distclean
– make ARCH=arm CROSS_COMPILE=${CC} am335x_evm_defconfig
– make ARCH=arm CROSS_COMPILE=${CC}
”
But for now i have an issue that must have been forgotten or I did not realize
The octavo need the “configuration” circuit in the image in attach?
Thank you.
Hi David,
Please post the error you are seeing on step 5. Also, there was a small mistake (a br tag that was not supposed to be there) in step 4 which I have now corrected. Other than that, this procedure has been verified and tested by costumers. Here is the reference to the original wiki this procedure was formulated from: https://eewiki.net/display/linuxonarm/BeagleBone+Black
For the second question, Yes. The boot configuration is required to tell the processor about the boot mode (SD card, eMMC etc.) Please take a look at the tutorial series we put together that can help designing with the OSD335x: https://octavosystems.com/app_notes/osd335x-design-tutorial/
Neeraj
Neeraj,
I will try again.
I developed a board without the boot configurator,
i need make a new pcb. 🙁
Thank you
David
Hello Mr. Neeraj,
I have developed my custom board based on OSD3358 beaglebone black wireless version. I am attaching my circuit design png below.
Changes in my board:
different wireless module and instead of HDMI i am using LCD interface directly. All remaining things are exact of the octavo’s BBB.
Now current status of board is as follows :
EMMC is empty and i am not inserting sd card in slot.My intention is to go in UART boot mode and see “CCCC” coming on the serial monitor.
Power led,PMIC_LED_GOOD ,reset_signal all power voltage rails are working fine. currently I am unable to check crystals because of CRO unavailability.
Question : I am getting 0.60 volt on UART0_Tx debug header instead of 3.3 volts. I have checked buffer ic and all traces on pcb they all checked out. And resistance of trace is 4.5 OHM so that should be not an issue for fast signal like this. I am thinking it is because at power on boot lines aren’t getting latched! what are your thoughts on this?
Note : On pcb i have kept 47pF capacitors pads open(They are connected to BOOT lines/LCD lines). They are not populated, should i populate them??
Thank you,
Keval Desai
Hello kd,
I didn’t find anything on the schematic that would interfere with UART0 operation. Boot configuration seems to be fine. I don’t think absence of 47pF caps are causing problems either.
We will need a little more information before we proceed further.
1. What is the voltage on the UART0_TX line at the input of buffer U8?
2. Did you actually try connecting UART0 pins to a Serial Client like Putty? Were you able to see any messages?
Hi,
Thank you for coming to my aid,First of all I like to mention one thing which I forgot last time is, between poweronreset(cold reset) and nreset(warm reset) there is a buffer. We haven’t populated that buffer on Pcb due to unavailability of that ic on our end. But I don’t think that can cause any problems.
1) at the input of buffer U8 , it is 0.60 voltage. Same reflects on its output pin.
2)I am using pqcom in windows which perfectly works with original BBB. At 115200 baud rate. I tried to connect it but it didn’t show anything.
3) we have eeprom that Is not programmed so we have to bypass that check in uboot,my colleague is working on that as soon as he is done I will test to see if I get any status led working.
But I doubt that wont work until we solve this problem. It is something in hardware but I am unable to pinpoint it exactly.
What do you think,what should I do next?
Thank you,
Keval desai
It is my pleasure to help you. I believe the absence of buffer U5 is not the problem. We need to first find out if the processor is alive.
1. In the beginning of our discussion, you said “Power led,PMIC_LED_GOOD ,reset_signal all power voltage rails are working fine.” I’m not yet sure if you’ve already tested the voltages on the following test points (corresponding correct voltages are also given below):
VDDS_DDR: 1.5V
VDD_CORE: 1.1V
VDD_MPU: 1.1V
VDDS_PLL: 1.8V
By verifying the above voltages we can make sure that AM335x is receiving necessary voltages from PMIC during and after boot.
2. I believe you have already verified boot configuration resistors. Make sure all the resistors are properly populated and resistor values are correct.
3. If all the above two tests pass, use a JTAG cable and try to connect to AM335x using Code Composer Studio. OSD335x Bare Minimum Boot Process Article will help you setup Code Composer Studio and connect to OSD335x using a debugger.
If steps 1, 2 pass and JTAG test fails, I would strongly recommend getting a CRO and verifying if OSD335x is receiving proper clock input before debugging the hardware further.
After trying the above steps, I would also recommend going through AM335x Board Bring Up Tips Wiki.
I just found out the problem. i assumed that processor is working fine and focused on just uart signaling part and found out that i made a mistake in schematic.
If you follow my schematic properly you will find that due to my wrong labels of signals input/output of uart buffer ic got shorted out. I removed the UART buffer ic and now i am able to see “CCCC”on serial monitor.
Right now i am attaching FTDI cable directly to processor’s debugger without buffer ic. And its working fine. should i keep buffer ic between them?
I’m glad the problem is solved. The buffer IC is not mandatory.
Out of curiosity, I would like to know what exactly caused the short. I went back and looked at your schematic again. Your labels are NOT wrong. When 2OE is pulled high and *1OE is pulled low, the buffer IC (SN74LVC2G241) passes data from 2A (UART0_TX) to 2Y (B_UART0_TX) and from 1A(B_UART0_RX) to 1Y(UART0_RX). The pin to signal mapping of the buffer also seems to be correct on schematic. I’ll be glad if you could elaborate a bit more.
Actual connector is on left-top corner of the schematic. You will notice that , those pins have UART0_TX labeled, in the updated and final schematic i removed those extra small pins and routed only main big connector. So in the end B_UART0_TX got replaced with UART0_TX. You will find routing error in attached file.
I have one query left which is as follows
Right now i do not have EEPROM programmed and so when i boot readymade BBB images through SD card will it throw anything on serial debug? like MLO found and reading boot image etc… We haven’t provided bypass for the check of the eeprom in uboot. My intention here is to check sd card interface working properly or not!
Thank you for the clarification.
Readymade BBB Images will not throw anything on the Serial Debug interface if EEPROM is empty. It’ll be best if you could modify your existing BBB image to bypass EEPROM check.
See response #4733 by Neeraj Dantu (part of same thread we’re currently discussing on) where he describes how to modify BBB image to bypass EEPROM check.
Please let us know if you have any other queries.
Yes my team mate is currently working on that patch. Mine and my team mate’s understanding is EEPROM check happens in uboot spl stage. Before that MLO and uboot spl (starting ) log should be printed by UART console. But i am getting none when in SD card boot mode!!!
I am booting this image through SD Card :
What i am expecting is something like this..
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | U-Boot SPL 2018.01-00002-g9aa111a004 (Jan 20 2018 - 12:45:29) Trying to boot from MMC1 U-Boot 2018.01-00002-g9aa111a004 (Jan 20 2018 - 12:45:29 -0600), Build: jenkins-github_Bootloader-Builder-32 CPU : AM335X-GP rev 2.1 I2C: ready DRAM: 512 MiB No match for driver 'omap_hsmmc' No match for driver 'omap_hsmmc' Some drivers were not found Reset Source: Power-on reset has occurred. MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Using default environment Board: BeagleBone Black not set. Validating first E-fuse MAC BeagleBone Black: BeagleBone: cape eeprom: i2c_probe: 0x54: BeagleBone: cape eeprom: i2c_probe: 0x55: BeagleBone: cape eeprom: i2c_probe: 0x56: BeagleBone: cape eeprom: i2c_probe: 0x57: Net: eth0: MII MODE cpsw, usb_ether Press SPACE to abort autoboot in 2 seconds |
I understand your concern. Unfortunately, the U-Boot SPLs that are part of the newer BBB images don’t print anything on the UART console if EEPROM is empty.
THERE IS A WORKAROUND FOR THIS. Debian 7.5 (Old version of BBB Image) DOES print U-Boot error message if EEPROM is empty. You can download it from:
Debian 7.5 (BeagleBone, BeagleBone Black – 2GB SD) 2014-05-14
I tested this image on a board with empty EEPROM. I have attached a picture of the U-Boot error message on UART console. You should get the same thing when you use it on your board.
Hope this helps!
Okay, I will test it right away and update you with the result.
Sounds good.
Hi, I just tested your suggested image and it is working as expected. It is throwing error message on uart which means sd card interface is working.
Thank you so much for your constant support.
You’re welcome. Please let us know if you have any other queries.
@EshtaarthaAs i mentioned before i have blank EEPROM on my board so i tried following method to bypass the check.
@Neeraj First we tried this post #4733
It is part of this thread . in this process we face no difficulty while applying the patch and building the source. But when i boot image through sd card my board didn’t responded on uart debug terminal. We haven’t received anything on the uart console.
@EricT So second we tried this post #4582
We made a change in latest version of uboot available on github.
u-boot/board/ti/am335x/board.h
1 2 3 4 5 | static inline int board_is_bone_lt(void) { printf("called it\n"); return 1; } |
And i dump this image on sd card and boot my custom board. it started throwing messages on serial uart as follows.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | U-Boot SPL 2018.03-00001-g3751650-dirty (Mar 14 2018 - 19:32:44 +0530) Trying to boot from MMC1 Loading Environment from FAT... *** Warning - bad CRC, using default environment Failed (-5) Called lt Called lt Called lt Called lt Called lt Called lt Called lt Called lt Called lt Called lt Called lt Called lt Called lt Called lt Called lt U-Boot 2018.03-00001-g3751650-dirty (Mar 14 2018 - 19:32:44 +0530) CPU : AM335X-GP rev 2.1 Model: TI AM335x BeagleBone Black DRAM: 512 MiB Error binding driver 'gpio_omap': -22 Error binding driver 'gpio_omap': -22 Error binding driver 'gpio_omap': -22 Some drivers failed to bind Error binding driver 'generic_simple_bus': -22 Some drivers failed to bind initcall sequence 9ffac608 failed at call 8080e757 (err=-22) ### ERROR ### Please RESET the board ### |
it continuously reset the board with these two errors repeatedly.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | U-Boot SPL 2018.03-00001-g3751650-dirty (Mar 14 2018 - 19:32:44 +0530) Trying to boot from MMC1 Loading Environment from FAT... *** Warning - bad CRC, using default environment Failed (-5) Called lt Called lt Called lt Called lt Called lt Called lt Called lt Called lt Called lt Called lt Called lt Called lt Called lt Called lt Called lt U-Boot 2018.03-00001-g3751650-dirty (Mar 14 2018 - 19:32:44 +0530) CPU : AM335X-GP rev 2.1 Model: TI AM335x BeagleBone Black DRAM: 512 MiB No serial driver found Device tree error at node '' Device tree error at node '' Device tree error at node '' resetting ... Device tree error at node '' Device tree error at node '' ?evice tree error at node '' |
What do you think? is it a hardware problem? or uboot problem? i tested this image on real BBB which works fine.
My main objective here is to reach at the uboot console somehow. I dont know where exactly problem is happening!!!
I will look into this issue and get back to you by the beginning of next week.
Based on the errors you’re getting, it looks like this is a device tree issue. I believe your hardware is behaving different from that of BeagleBone Black and hence Device Tree is having trouble loading drivers and initializing your hardware. It would be best if you modify the Device Trees of both your U-Boot and Kernel. You can use a Device Tree Rebuilder for this.
You can just use a minimal device tree for verification.
HI,
Recently we tried resetting board several times with image which contains eeprom bypass check. And 1 in 5 try we were able to get into uboot console. at the end we realize we can not write eeprom because on our custom board i2c0’s SCL line is shorted to V3.3B. There is no way to remove that short.
other peripheral seems to be getting proper voltages without any pcb design fault. Do you think if we can properly bypass eeprom check in uboot we will be able to use our board as intended . We are not using i2c0 except on pmic/eeprom (by default). We haven’t tried booting a kernel yet. Do you think that is it possible if we properly work on uboot we can overcome this hardware fault?
Yes. You should be able to use the board as intended if you bypass EEPROM properly. Keep in mind that PMIC will always function in its default configuration and you won’t be able to configure it (changing input current limits etc) without I2C0.
Since I don’t have access to your actual schematic file, it is difficult to track all signals with just a picture of your schematic. From what I see, it looks like I2C0_SCL is not shorted in schematic. Is it shorted in layout?
yes, it is shorted in layout. And i wont be able to remove it. Do you think default configuration will work ? i am aiming for processor, ddr, and sd card to work properly. i am able to get to the uboot console.
Since you’re board is powering up and you’re able to reach U-Boot console, PMIC seems to be functioning properly. The default configuration of PMIC is sufficient for most applications (You can go through TPS65217C datasheet for more information). Yes, PMIC should be able to support all peripherals on BeagleBone Black in its default configuration (Processor, DDR3 and SD Card in your case).
Hi,
We received our custom boards with the OSD3358. I carefully followed the instructions described by Neeraj in post #4733 and having some issues getting the flasher image to flash the image to the emmc. I am using the “Debian 9.5 2018-10-07 4GB eMMC IoT Flasher” beagle image and followed all instructions without any errors. Now when I insert the sd card and power the board, the flashing process does not start nor the user LED’s light up. Below is the log I got from the serial console.
Setting bus to 0
Setting bus to 0
0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …………….
0010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …………….
resetting …
U-Boot SPL 2018.01-dirty (Jan 30 2020 – 14:20:06)
Trying to boot from MMC1
U-Boot 2018.01-dirty (Jan 30 2020 – 14:20:06 +1300)
CPU : AM335X-GP rev 2.1
I2C: ready
DRAM: 512 MiB
No match for driver ‘omap_hsmmc’
No match for driver ‘omap_hsmmc’
Some drivers were not found
Reset Source: Global warm SW reset has occurred.
Reset Source: Power-on reset has occurred.
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment
<ethaddr> not set. Validating first E-fuse MAC
BeagleBone: cape eeprom: i2c_probe: 0x54:
BeagleBone: cape eeprom: i2c_probe: 0x55:
BeagleBone: cape eeprom: i2c_probe: 0x56:
BeagleBone: cape eeprom: i2c_probe: 0x57:
Net: usb_ether
Press SPACE to abort autoboot in 2 seconds
board_name=[A335BLNK] …
30 bytes read in 16 ms (1000 Bytes/s)
Loaded environment from /boot/.eeprom.txt
Setting bus to 0
0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …………….
0010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …………….
Setting bus to 0
Setting bus to 0
Setting bus to 0
0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …………….
0010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …………….
resetting …
U-Boot SPL 2018.01-dirty (Jan 30 2020 – 14:20:06)
Trying to boot from MMC1
U-Boot 2018.01-dirty (Jan 30 2020 – 14:20:06 +1300)
CPU : AM335X-GP rev 2.1
I2C: ready
DRAM: 512 MiB
No match for driver ‘omap_hsmmc’
No match for driver ‘omap_hsmmc’
Some drivers were not found
Reset Source: Global warm SW reset has occurred.
Reset Source: Power-on reset has occurred.
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment
<ethaddr> not set. Validating first E-fuse MAC
BeagleBone: cape eeprom: i2c_probe: 0x54:
BeagleBone: cape eeprom: i2c_probe: 0x55:
BeagleBone: cape eeprom: i2c_probe: 0x56:
BeagleBone: cape eeprom: i2c_probe: 0x57:
Net: usb_ether
Press SPACE to abort autoboot in 2 seconds
board_name=[A335BLNK] …
30 bytes read in 16 ms (1000 Bytes/s)
Loaded environment from /boot/.eeprom.txt
Setting bus to 0
0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …………….
0010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …………….
Setting bus to 0
Setting bus to 0
Setting bus to 0
0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …………….
0010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …………….
resetting …
U-Boot SPL 2018.01-dirty (Jan 30 2020 – 14:20:06)
Trying to boot from MMC1
U-Boot 2018.01-dirty (Jan 30 2020 – 14:20:06 +1300)
CPU : AM335X-GP rev 2.1
I2C: ready
DRAM: 512 MiB
No match for driver ‘omap_hsmmc’
No match for driver ‘omap_hsmmc’
Some drivers were not found
Reset Source: Global warm SW reset has occurred.
Reset Source: Power-on reset has occurred.
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment
<ethaddr> not set. Validating first E-fuse MAC
BeagleBone: cape eeprom: i2c_probe: 0x54:
BeagleBone: cape eeprom: i2c_probe: 0x55:
BeagleBone: cape eeprom: i2c_probe: 0x56:
BeagleBone: cape eeprom: i2c_probe: 0x57:
Net: usb_ether
Press SPACE to abort autoboot in 2 seconds
=>
=> unam
Unknown command ‘unam’ – try ‘help’
=> uname
Unknown command ‘uname’ – try ‘help’
=> uname -a
Unknown command ‘uname’ – try ‘help’
=> help
? – alias for ‘help’
askenv – get environment variables from stdin
base – print or set address offset
bdinfo – print Board Info structure
boot – boot default, i.e., run ‘bootcmd’
bootd – boot default, i.e., run ‘bootcmd’
bootefi – Boots an EFI payload from memory
bootelf – Boot from an ELF image in memory
bootm – boot application image from memory
bootp – boot image via network using BOOTP/TFTP protocol
bootvx – Boot vxWorks from an ELF image
bootz – boot Linux zImage image from memory
btrsubvol- list subvolumes of a BTRFS filesystem
cmp – memory compare
coninfo – print console devices and information
cp – memory copy
crc32 – checksum calculation
dfu – Device Firmware Upgrade
dhcp – boot image via network using DHCP/TFTP protocol
dm – Driver model low level access
echo – echo args to console
editenv – edit environment variable
eeprom – EEPROM sub-system
env – environment handling commands
exit – exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls – list files in a directory (default /)
ext4load- load binary file from a Ext4 filesystem
ext4ls – list files in a directory (default /)
ext4size- determine a file’s size
ext4write- create a file in the root directory
false – do nothing, unsuccessfully
fastboot- use USB Fastboot protocol
fatinfo – print information about filesystem
fatload – load binary file from a dos filesystem
fatls – list files in a directory (default /)
fatsize – determine a file’s size
fatwrite- write file into a dos filesystem
fdt – flattened device tree utility commands
fstype – Look up a filesystem type
go – start application at address ‘addr’
gpio – query and control gpio pins
gpt – GUID Partition Table
help – print command description/usage
i2c – I2C sub-system
iminfo – print header information for application image
imxtract- extract a part of a multi-image
itest – return true/false on integer compare
load – load binary file from a filesystem
loadb – load binary file over serial line (kermit mode)
loads – load S-Record file over serial line
loadx – load binary file over serial line (xmodem mode)
loady – load binary file over serial line (ymodem mode)
loop – infinite loop on address range
ls – list files in a directory (default /)
md – memory display
mdio – MDIO utility commands
mii – MII utility commands
mm – memory modify (auto-incrementing address)
mmc – MMC sub system
mmcinfo – display MMC info
mw – memory write (fill)
nfs – boot image via network using NFS protocol
nm – memory modify (constant address)
part – disk partition related commands
ping – send ICMP ECHO_REQUEST to network host
printenv- print environment variables
pxe – commands to get and boot from pxe files
reset – Perform RESET of the CPU
run – run commands in an environment variable
save – save file to a filesystem
setenv – set environment variables
sf – SPI flash sub-system
showvar – print local hushshell variables
size – determine a file’s size
sleep – delay execution for some time
source – run script from memory
spl – SPL configuration
sspi – SPI utility command
sysboot – command to get and boot from syslinux files
test – minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
time – run commands and summarize execution time
true – do nothing, successfully
usb – USB sub-system
usbboot – boot from USB device
version – print monitor, compiler and linker version
=>
Could someone help me resolve this?
Thanks.
I have made some progress. I included the “v2019.04” branch and followed the same process. And I hardcoded board id as below:
1 2 3 4 5 6 7 | // In ==> u-boot/board/ti/am335x/board.h static inline int board_is_bone_lt(void) { //return board_ti_is("A335BNLT"); return 1; } |
Now, at least I can see the user LEDs flashing when booting up. But now the image flashing never initiates and system resets. I think I am very close to resolving this, below is the logs during boot over the serial console. It would be great if someone here could take a look at it to advise on how to proceed.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 | U-Boot SPL 2019.04-dirty (Jan 30 2020 - 18:21:03 +1300) Trying to boot from MMC1 Loading Environment from EXT4... ** File not found /boot/uboot.env ** ** Unable to read "/boot/uboot.env" from mmc0:1 ** U-Boot 2019.04-dirty (Jan 30 2020 - 18:21:03 +1300) CPU : AM335X-GP rev 2.1 I2C: ready DRAM: 512 MiB No match for driver 'omap_hsmmc' No match for driver 'omap_hsmmc' Some drivers were not found Reset Source: Power-on reset has occurred. RTC 32KCLK Source: External. MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Loading Environment from EXT4... ** File not found /boot/uboot.env ** ** Unable to read "/boot/uboot.env" from mmc0:1 ** Board: BeagleBone Black not set. Validating first E-fuse MAC BeagleBone Black: BeagleBone: cape eeprom: i2c_probe: 0x54: BeagleBone: cape eeprom: i2c_probe: 0x55: BeagleBone: cape eeprom: i2c_probe: 0x56: BeagleBone: cape eeprom: i2c_probe: 0x57: Net: eth0: MII MODE Could not get PHY for cpsw: addr 0 cpsw, usb_ether Press SPACE to abort autoboot in 0 seconds board_name=[A335BNLT] ... board_rev=[] ... switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... gpio: pin 56 (gpio 56) value is 0 gpio: pin 55 (gpio 55) value is 0 gpio: pin 54 (gpio 54) value is 0 gpio: pin 53 (gpio 53) value is 1 switch to partitions #0, OK mmc0 is current device gpio: pin 54 (gpio 54) value is 1 Checking for: /uEnv.txt ... Checking for: /boot.scr ... Checking for: /boot/boot.scr ... Checking for: /boot/uEnv.txt ... gpio: pin 55 (gpio 55) value is 1 2041 bytes read in 39 ms (50.8 KiB/s) Loaded environment from /boot/uEnv.txt Checking if uname_r is set in /boot/uEnv.txt... gpio: pin 56 (gpio 56) value is 1 Running uname_boot ... loading /boot/vmlinuz-4.14.71-ti-r80 ... 10416640 bytes read in 686 ms (14.5 MiB/s) debug: [enable_uboot_overlays=1] ... debug: [enable_uboot_cape_universal=1] ... debug: [uboot_base_dtb_univ=am335x-boneblack-uboot-univ.dtb] ... uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot-univ.dtb] ... uboot_overlays: Switching too: dtb=am335x-boneblack-uboot-univ.dtb ... loading /boot/dtbs/4.14.71-ti-r80/am335x-boneblack-uboot-univ.dtb ... 161723 bytes read in 99 ms (1.6 MiB/s) uboot_overlays: [fdt_buffer=0x60000] ... uboot_overlays: loading /lib/firmware/BB-BONE-eMMC1-01-00A0.dtbo ... 1440 bytes read in 256 ms (4.9 KiB/s) uboot_overlays: loading /lib/firmware/BB-HDMI-TDA998x-00A0.dtbo ... 5127 bytes read in 247 ms (19.5 KiB/s) uboot_overlays: loading /lib/firmware/BB-ADC-00A0.dtbo ... 711 bytes read in 329 ms (2 KiB/s) uboot_overlays: loading /lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo ... 3513 bytes read in 128 ms (26.4 KiB/s) loading /boot/initrd.img-4.14.71-ti-r80 ... 4530240 bytes read in 318 ms (13.6 MiB/s) debug: [console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh] ... debug: [bootz 0x82000000 0x88080000:452040 88000000] ... ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Ramdisk to 8fbad000, end 8ffff040 ... OK Loading Device Tree to 8fb21000, end 8fbacfff ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.71-ti-r80 (root@b2-am57xx-beagle-x15-2gb) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 SMP PREEMPT Fri Oct 5 23:50:11 UTC 2018 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Black [ 0.000000] Memory policy: Data cache writeback [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 48 MiB at 0x9c800000 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM335X ES2.1 (sgx neon) [ 0.000000] random: get_random_bytes called from start_kernel+0xac/0x458 with crng_init=0 [ 0.000000] percpu: Embedded 18 pages/cpu @df8e7000 s41548 r8192 d23988 u73728 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129412 [ 0.000000] Kernel command line: console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 440272K/522240K available (13312K kernel code, 1169K rwdata, 4364K rodata, 1024K init, 361K bss, 32816K reserved, 49152K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xe0000000 - 0xff800000 ( 504 MB) [ 0.000000] lowmem : 0xc0000000 - 0xdfe00000 ( 510 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0e00000 (14304 kB) [ 0.000000] .init : 0xc1400000 - 0xc1500000 (1024 kB) [ 0.000000] .data : 0xc1500000 - 0xc1624498 (1170 kB) [ 0.000000] .bss : 0xc162eb2c - 0xc1689000 ( 362 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] ftrace: allocating 42734 entries in 126 pages [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1. [ 0.000000] Tasks RCU enabled. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz [ 0.000023] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000052] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000065] OMAP clocksource: timer1 at 24000000 Hz [ 0.002124] timer_probe: no matching timers found [ 0.002467] Console: colour dummy device 80x30 [ 0.002501] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' [ 0.002509] This ensures that you still see kernel messages. Please [ 0.002516] update your kernel commandline. [ 0.002547] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656) [ 0.021093] pid_max: default: 32768 minimum: 301 [ 0.021362] Security Framework initialized [ 0.021385] Yama: becoming mindful. [ 0.021426] AppArmor: AppArmor disabled by boot time parameter [ 0.021509] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.021524] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.022548] CPU: Testing write buffer coherency: ok [ 0.023078] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.037180] Setting up static identity map for 0x80100000 - 0x80100060 [ 0.045091] Hierarchical SRCU implementation. [ 0.056214] EFI services will not be available. [ 0.061097] smp: Bringing up secondary CPUs ... [ 0.061120] smp: Brought up 1 node, 1 CPU [ 0.061131] SMP: Total of 1 processors activated (995.32 BogoMIPS). [ 0.061143] CPU: All CPU(s) started in SVC mode. [ 0.062723] devtmpfs: initialized [ 0.101361] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.101850] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.101882] futex hash table entries: 256 (order: 2, 16384 bytes) [ 0.105851] xor: measuring software checksum speed [ 0.145111] arm4regs : 1200.000 MB/sec [ 0.185066] 8regs : 1075.000 MB/sec [ 0.225065] 32regs : 988.000 MB/sec [ 0.265065] neon : 1624.000 MB/sec [ 0.265076] xor: using function: neon (1624.000 MB/sec) [ 0.265097] pinctrl core: initialized pinctrl subsystem [ 0.266326] NET: Registered protocol family 16 [ 0.269365] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.360321] omap_hwmod: debugss: _wait_target_disable failed [ 0.401115] cpuidle: using governor menu [ 0.407475] OMAP GPIO hardware version 0.1 [ 0.433021] No ATAGs? [ 0.433041] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.434660] omap4_sram_init:Unable to allocate sram needed to handle errata I688 [ 0.434687] omap4_sram_init:Unable to get sram pool needed to handle errata I688 [ 0.529115] raid6: neonx2 gen() 1882 MB/s [ 0.597092] raid6: neonx2 xor() 1497 MB/s [ 0.597104] raid6: using algorithm neonx2 gen() 1882 MB/s [ 0.597113] raid6: .... xor() 1497 MB/s, rmw enabled [ 0.597123] raid6: using neon recovery algorithm [ 0.604874] edma 49000000.edma: TI EDMA DMA engine driver [ 0.611757] SCSI subsystem initialized [ 0.613568] usbcore: registered new interface driver usbfs [ 0.613642] usbcore: registered new interface driver hub [ 0.613762] usbcore: registered new device driver usb [ 0.614679] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe [ 0.615658] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz [ 0.616963] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz [ 0.617493] media: Linux media interface: v0.10 [ 0.617558] Linux video capture interface: v2.00 [ 0.617750] pps_core: LinuxPPS API ver. 1 registered [ 0.617763] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.617791] PTP clock support registered [ 0.618433] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400 [ 0.621447] Advanced Linux Sound Architecture Driver Initialized. [ 0.622160] NetLabel: Initializing [ 0.622178] NetLabel: domain hash size = 128 [ 0.622188] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.622278] NetLabel: unlabeled traffic allowed by default [ 0.625511] clocksource: Switched to clocksource timer1 [ 0.789336] VFS: Disk quotas dquot_6.6.0 [ 0.789477] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.802269] NET: Registered protocol family 2 [ 0.803221] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.803273] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 0.803334] TCP: Hash tables configured (established 4096 bind 4096) [ 0.803457] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.803483] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.803691] NET: Registered protocol family 1 [ 0.812650] RPC: Registered named UNIX socket transport module. [ 0.812671] RPC: Registered udp transport module. [ 0.812680] RPC: Registered tcp transport module. [ 0.812688] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.813478] Unpacking initramfs... [ 1.017578] random: fast init done [ 1.060846] Freeing initrd memory: 4428K [ 1.061444] hw perfevents: no interrupt-affinity property for /pmu, guessing. [ 1.061832] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available [ 1.063921] audit: initializing netlink subsys (disabled) [ 1.065205] audit: type=2000 audit(1.064:1): state=initialized audit_enabled=0 res=1 [ 1.065348] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 1.071420] zbud: loaded [ 1.083178] NFS: Registering the id_resolver key type [ 1.083227] Key type id_resolver registered [ 1.083238] Key type id_legacy registered [ 1.083261] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.083626] fuse init (API version 7.26) [ 1.084225] SGI XFS with ACLs, security attributes, realtime, no debug enabled [ 1.095257] Key type asymmetric registered [ 1.095287] Asymmetric key parser 'x509' registered [ 1.095418] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 1.099770] io scheduler noop registered [ 1.099790] io scheduler deadline registered [ 1.100189] io scheduler cfq registered (default) [ 1.100205] io scheduler mq-deadline registered [ 1.102922] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 [ 1.114794] gpio-of-helper ocp:cape-universal: ready [ 1.125672] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle [ 1.127938] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled [ 1.131673] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250 [ 1.983368] console [ttyS0] enabled [ 1.988079] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250 [ 1.998073] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a 8250 [ 2.007929] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 33, base_baud = 3000000) is a 8250 [ 2.017866] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 34, base_baud = 3000000) is a 8250 [ 2.027667] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 35, base_baud = 3000000) is a 8250 [ 2.039898] omap_rng 48310000.rng: Random Number Generator ver. 20 [ 2.047525] [drm] Initialized vgem 1.0.0 20120112 for virtual device on minor 0 [ 2.055159] usbcore: registered new interface driver udl [ 2.068232] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 2.075556] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 2.082748] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 2.089921] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 2.097403] eqep 48300180.eqep: ver. 1.0 [ 2.101624] eqep 48300180.eqep: count_mode:0 [ 2.105958] eqep 48300180.eqep: invert_qa:1 [ 2.110186] eqep 48300180.eqep: invert_qb:1 [ 2.114413] eqep 48300180.eqep: invert_qi:0 [ 2.118639] eqep 48300180.eqep: invert_qs:0 [ 2.122864] eqep 48300180.eqep: swap_inputs:0 [ 2.127263] eqep 48300180.eqep: QDECCTL:0x0180 [ 2.131750] eqep 48300180.eqep: QPOSINIT:0x00000000 [ 2.136679] eqep 48300180.eqep: QPOSMAX:0xffffffff [ 2.141517] eqep 48300180.eqep: QPOSCNT:0x00000000 [ 2.146354] eqep 48300180.eqep: omit_interrupt:0 [ 2.151014] eqep 48300180.eqep: QEINT:0x0800 [ 2.155326] eqep 48300180.eqep: QUPRD:0x05f5e100 [ 2.159986] eqep 48300180.eqep: QEPCTL:0x009e write [ 2.164908] eqep 48300180.eqep: QEPCTL:0x009e read [ 2.169761] eqep 48300180.eqep: irq:135, clk_rate:100000000 [ 2.175622] eqep 48302180.eqep: ver. 1.0 [ 2.179743] eqep 48302180.eqep: count_mode:0 [ 2.184077] eqep 48302180.eqep: invert_qa:1 [ 2.188308] eqep 48302180.eqep: invert_qb:1 [ 2.192534] eqep 48302180.eqep: invert_qi:0 [ 2.196760] eqep 48302180.eqep: invert_qs:0 [ 2.200985] eqep 48302180.eqep: swap_inputs:0 [ 2.205384] eqep 48302180.eqep: QDECCTL:0x0180 [ 2.209873] eqep 48302180.eqep: QPOSINIT:0x00000000 [ 2.214795] eqep 48302180.eqep: QPOSMAX:0xffffffff [ 2.219629] eqep 48302180.eqep: QPOSCNT:0x00000000 [ 2.224465] eqep 48302180.eqep: omit_interrupt:0 [ 2.229125] eqep 48302180.eqep: QEINT:0x0800 [ 2.233437] eqep 48302180.eqep: QUPRD:0x05f5e100 [ 2.238097] eqep 48302180.eqep: QEPCTL:0x009e write [ 2.243019] eqep 48302180.eqep: QEPCTL:0x009e read [ 2.247866] eqep 48302180.eqep: irq:137, clk_rate:100000000 [ 2.253697] eqep 48304180.eqep: ver. 1.0 [ 2.257794] eqep 48304180.eqep: count_mode:0 [ 2.262122] eqep 48304180.eqep: invert_qa:1 [ 2.266351] eqep 48304180.eqep: invert_qb:1 [ 2.270578] eqep 48304180.eqep: invert_qi:0 [ 2.274803] eqep 48304180.eqep: invert_qs:0 [ 2.279028] eqep 48304180.eqep: swap_inputs:0 [ 2.283427] eqep 48304180.eqep: QDECCTL:0x0180 [ 2.287913] eqep 48304180.eqep: QPOSINIT:0x00000000 [ 2.292836] eqep 48304180.eqep: QPOSMAX:0xffffffff [ 2.297671] eqep 48304180.eqep: QPOSCNT:0x00000000 [ 2.302506] eqep 48304180.eqep: omit_interrupt:0 [ 2.307167] eqep 48304180.eqep: QEINT:0x0800 [ 2.311478] eqep 48304180.eqep: QUPRD:0x05f5e100 [ 2.316139] eqep 48304180.eqep: QEPCTL:0x009e write [ 2.321060] eqep 48304180.eqep: QEPCTL:0x009e read [ 2.325908] eqep 48304180.eqep: irq:139, clk_rate:100000000 [ 2.360562] libphy: Fixed MDIO Bus: probed [ 2.365768] CAN device driver interface [ 2.370929] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=42) [ 2.380881] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=43) [ 2.445625] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000 [ 2.453380] davinci_mdio 4a101000.mdio: no live phy, scanning all [ 2.460064] davinci_mdio: probe of 4a101000.mdio failed with error -5 [ 2.467553] cpsw 4a100000.ethernet: Detected MACID = 60:64:05:2e:a0:bf [ 2.474314] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4 [ 2.480752] cpsw 4a100000.ethernet: ALE Table size 1024 [ 2.486065] cpsw 4a100000.ethernet: cpts: overflow check period 1250 (jiffies) [ 2.496915] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.503646] ehci-platform: EHCI generic platform driver [ 2.509334] ehci-omap: OMAP-EHCI Host Controller driver [ 2.515567] usbcore: registered new interface driver usb-storage [ 2.524794] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator [ 2.538317] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator [ 2.552586] musb-hdrc musb-hdrc.1: MUSB HDRC host driver [ 2.558056] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1 [ 2.565828] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.572703] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.579985] usb usb1: Product: MUSB HDRC host driver [ 2.584996] usb usb1: Manufacturer: Linux 4.14.71-ti-r80 musb-hcd [ 2.591142] usb usb1: SerialNumber: musb-hdrc.1 [ 2.596652] hub 1-0:1.0: USB hub found [ 2.600627] hub 1-0:1.0: 1 port detected [ 2.616869] omap_rtc 44e3e000.rtc: registered as rtc0 [ 2.623515] i2c /dev entries driver [ 2.628286] Driver for 1-wire Dallas network protocol. [ 2.636833] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 2.644459] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0) [ 2.654572] cpuidle: enable-method property 'ti,am3352' found operations [ 2.662327] sdhci: Secure Digital Host Controller Interface driver [ 2.668611] sdhci: Copyright(c) Pierre Ossman [ 2.673925] omap_hsmmc 48060000.mmc: Got CD GPIO [ 2.758177] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.766509] ledtrig-cpu: registered to indicate activity on CPUs [ 2.776878] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2 [ 2.783091] omap-aes 53500000.aes: will run requests pump with realtime priority [ 2.793923] omap-sham 53100000.sham: hw accel on OMAP rev 4.3 [ 2.807588] hidraw: raw HID events driver (C) Jiri Kosina [ 2.813288] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.821869] mmc0: new high speed SDHC card at address aaaa [ 2.828738] mmcblk0: mmc0:aaaa SC16G 14.8 GiB [ 2.834645] mmcblk0: p1 [ 2.838831] usbcore: registered new interface driver usbhid [ 2.844558] usbhid: USB HID core driver [ 2.849254] remoteproc remoteproc0: wkup_m3 is available [ 2.858387] mmc1: new high speed MMC card at address 0001 [ 2.870000] mmcblk1: mmc1:0001 W62704 3.56 GiB [ 2.876510] wireguard: WireGuard 0.0.20180925 loaded. See www.wireguard.com for information. [ 2.876516] wireguard: Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. [ 2.877341] NET: Registered protocol family 10 [ 2.897238] Segment Routing with IPv6 [ 2.897314] mip6: Mobile IPv6 [ 2.897331] NET: Registered protocol family 17 [ 2.897347] can: controller area network core (rev 20170425 abi 9) [ 2.897433] NET: Registered protocol family 29 [ 2.897635] Key type dns_resolver registered [ 2.897639] mpls_gso: MPLS GSO support [ 2.897874] omap_voltage_late_init: Voltage driver support not added [ 2.898354] PM: Cannot get wkup_m3_ipc handle [ 2.898546] ThumbEE CPU extension supported. [ 2.898569] Registering SWP/SWPB emulation handler [ 2.899613] registered taskstats version 1 [ 2.899759] zswap: loaded using pool lzo/zbud [ 2.906809] Btrfs loaded, crc32c=crc32c-generic [ 2.906905] ima: No TPM chip found, activating TPM-bypass! (rc=-19) [ 2.906929] ima: Allocated hash algorithm: sha256 [ 2.990407] mmcblk1boot0: mmc1:0001 W62704 partition 1 2.00 MiB [ 3.000046] mmcblk1boot1: mmc1:0001 W62704 partition 2 2.00 MiB [ 3.006634] mmcblk1rpmb: mmc1:0001 W62704 partition 3 512 KiB [ 3.021659] tda998x 0-0070: Error -121 writing to cec:0xff [ 3.027326] tda998x 0-0070: set_page 000a err -121 [ 3.089589] tda998x 0-0070: set_page 000a err -121 [ 3.153599] tda998x 0-0070: set_page 0001 err -121 [ 3.158507] tda998x 0-0070: set_page 0001 err -121 [ 3.163413] tda998x 0-0070: set_page 0200 err -121 [ 3.168311] tda998x 0-0070: set_page 0201 err -121 [ 3.173215] tda998x 0-0070: set_page 0202 err -121 [ 3.178118] tda998x 0-0070: set_page 0203 err -121 [ 3.183020] tda998x 0-0070: set_page 0204 err -121 [ 3.187921] tda998x 0-0070: set_page 0205 err -121 [ 3.192822] tda998x 0-0070: set_page 020e err -121 [ 3.197724] tda998x 0-0070: set_page 0211 err -121 [ 3.202624] tda998x 0-0070: set_page 0207 err -121 [ 3.207524] tda998x 0-0070: set_page 0208 err -121 [ 3.212424] tda998x 0-0070: set_page 0209 err -121 [ 3.217324] tda998x 0-0070: set_page 020a err -121 [ 3.222225] tda998x 0-0070: set_page 0206 err -121 [ 3.227125] tda998x 0-0070: set_page 0027 err -121 [ 3.232026] tda998x 0-0070: set_page 0000 err -121 [ 3.236927] tda998x 0-0070: set_page 0002 err -121 [ 3.241993] tilcdc 4830e000.lcdc: failed to bind 0-0070 (ops tda998x_ops): -6 [ 3.249578] tilcdc 4830e000.lcdc: master bind failed: -6 [ 3.269818] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0 [ 3.281234] tps65217 0-0024: TPS65217 ID 0xe version 1.2 [ 3.287114] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 3.294199] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz [ 3.301695] remoteproc remoteproc0: powering up wkup_m3 [ 3.311087] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168 [ 3.322149] PM: Cannot get wkup_m3_ipc handle [ 3.326886] remoteproc remoteproc0: remote processor wkup_m3 is now up [ 3.326906] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x193 [ 3.342062] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 3.350895] of_cfs_init [ 3.353603] of_cfs_init: OK [ 3.357957] ALSA device list: [ 3.360962] No soundcards found. [ 3.369111] Freeing unused kernel memory: 1024K Loading, please wait... starting version 232 [ 3.829338] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 3.846708] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 3.857267] random: udevadm: uninitialized urandom read (16 bytes read) Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Warning: fsck not present, so skipping root file system [ 28.236745] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. [3J[H[J================================================================================ Starting eMMC Flasher from microSD media Version: [1.20180412: all ssh regneration override...] ================================================================================ ================================================================================ Prepare environment for flashing Starting at Sat Jan 1 00:00:26 UTC 2000 ---------------------------------------- ==> Giving system time to stablize... 5 4 3 2 1 ==> Preparing /tmp ==> Preparing sysctl ==> sysctl: vm.min_free_kbytes=[2654] ==> sysctl: setting: [sysctl -w vm.min_free_kbytes=16384] vm.min_free_kbytes = 16384 ---------------------------------------- ==> Determining root drive ==> console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh ---------------------------------------- ==> root_drive=[/dev/mmcblk0p1] ====> Root drive identified at [/dev/mmcblk0p1] ==> Boot Drive [/dev/mmcblk0p1] ==> Figuring out Source and Destination devices ====> Source identified: [/dev/mmcblk0] ====> Destination identified: [/dev/mmcblk1] ==> Figuring out machine ====> Machine is TI_AM335x_BeagleBone_Black ====> Machine is compatible with BeagleBone Black ================================================================================ 5 4 3 2 1 ======================================== Checking for Valid bbb-eeprom header ==> Invalid EEPROM header detected ===> Writing header to EEPROM 0+1 records in 0+1 records out 27 bytes copied, 0.00524933 s, 5.1 kB/s ===> eeprom check: [\FF\FF\FF] ======================================== Failed to read reboot parameter file: No such file or directory Rebooting. [ 39.981339] reboot: Restarting system U-Boot SPL 2019.04-dirty (Jan 30 2020 - 18:21:03 +1300) Trying to boot from MMC1 Loading Environment from EXT4... ** File not found /boot/uboot.env ** ** Unable to read "/boot/uboot.env" from mmc0:1 ** U-Boot 2019.04-dirty (Jan 30 2020 - 18:21:03 +1300) CPU : AM335X-GP rev 2.1 I2C: ready DRAM: 512 MiB No match for driver 'omap_hsmmc' No match for driver 'omap_hsmmc' Some drivers were not found Reset Source: Global warm SW reset has occurred. Reset Source: Power-on reset has occurred. RTC 32KCLK Source: External. MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Loading Environment from EXT4... ** File not found /boot/uboot.env ** ** Unable to read "/boot/uboot.env" from mmc0:1 ** Board: BeagleBone Black not set. Validating first E-fuse MAC BeagleBone Black: BeagleBone: cape eeprom: i2c_probe: 0x54: BeagleBone: cape eeprom: i2c_probe: 0x55: BeagleBone: cape eeprom: i2c_probe: 0x56: BeagleBone: cape eeprom: i2c_probe: 0x57: Net: eth0: MII MODE Could not get PHY for cpsw: addr 0 cpsw, usb_ether Press SPACE to abort autoboot in 0 seconds board_name=[A335BNLT] ... board_rev=[] ... switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... gpio: pin 56 (gpio 56) value is 0 gpio: pin 55 (gpio 55) value is 0 gpio: pin 54 (gpio 54) value is 0 gpio: pin 53 (gpio 53) value is 1 switch to partitions #0, OK mmc0 is current device gpio: pin 54 (gpio 54) value is 1 Checking for: /uEnv.txt ... Checking for: /boot.scr ... Checking for: /boot/boot.scr ... Checking for: /boot/uEnv.txt ... gpio: pin 55 (gpio 55) value is 1 2041 bytes read in 38 ms (51.8 KiB/s) Loaded environment from /boot/uEnv.txt Checking if uname_r is set in /boot/uEnv.txt... gpio: pin 56 (gpio 56) value is 1 Running uname_boot ... loading /boot/vmlinuz-4.14.71-ti-r80 ... 10416640 bytes read in 687 ms (14.5 MiB/s) debug: [enable_uboot_overlays=1] ... debug: [enable_uboot_cape_universal=1] ... debug: [uboot_base_dtb_univ=am335x-boneblack-uboot-univ.dtb] ... uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot-univ.dtb] ... uboot_overlays: Switching too: dtb=am335x-boneblack-uboot-univ.dtb ... loading /boot/dtbs/4.14.71-ti-r80/am335x-boneblack-uboot-univ.dtb ... 161723 bytes read in 98 ms (1.6 MiB/s) uboot_overlays: [fdt_buffer=0x60000] ... uboot_overlays: loading /lib/firmware/BB-BONE-eMMC1-01-00A0.dtbo ... 1440 bytes read in 256 ms (4.9 KiB/s) uboot_overlays: loading /lib/firmware/BB-HDMI-TDA998x-00A0.dtbo ... 5127 bytes read in 247 ms (19.5 KiB/s) uboot_overlays: loading /lib/firmware/BB-ADC-00A0.dtbo ... 711 bytes read in 329 ms (2 KiB/s) uboot_overlays: loading /lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo ... 3513 bytes read in 129 ms (26.4 KiB/s) loading /boot/initrd.img-4.14.71-ti-r80 ... 4530240 bytes read in 317 ms (13.6 MiB/s) debug: [console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh] ... debug: [bootz 0x82000000 0x88080000:452040 88000000] ... ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Ramdisk to 8fbad000, end 8ffff040 ... OK Loading Device Tree to 8fb21000, end 8fbacfff ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.71-ti-r80 (root@b2-am57xx-beagle-x15-2gb) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 SMP PREEMPT Fri Oct 5 23:50:11 UTC 2018 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Black [ 0.000000] Memory policy: Data cache writeback [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 48 MiB at 0x9c800000 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM335X ES2.1 (sgx neon) [ 0.000000] random: get_random_bytes called from start_kernel+0xac/0x458 with crng_init=0 [ 0.000000] percpu: Embedded 18 pages/cpu @df8e7000 s41548 r8192 d23988 u73728 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129412 [ 0.000000] Kernel command line: console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 440272K/522240K available (13312K kernel code, 1169K rwdata, 4364K rodata, 1024K init, 361K bss, 32816K reserved, 49152K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xe0000000 - 0xff800000 ( 504 MB) [ 0.000000] lowmem : 0xc0000000 - 0xdfe00000 ( 510 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0e00000 (14304 kB) [ 0.000000] .init : 0xc1400000 - 0xc1500000 (1024 kB) [ 0.000000] .data : 0xc1500000 - 0xc1624498 (1170 kB) [ 0.000000] .bss : 0xc162eb2c - 0xc1689000 ( 362 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] ftrace: allocating 42734 entries in 126 pages [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1. [ 0.000000] Tasks RCU enabled. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz [ 0.000024] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000054] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000068] OMAP clocksource: timer1 at 24000000 Hz [ 0.002113] timer_probe: no matching timers found [ 0.002455] Console: colour dummy device 80x30 [ 0.002492] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' [ 0.002500] This ensures that you still see kernel messages. Please [ 0.002508] update your kernel commandline. [ 0.002538] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656) [ 0.021090] pid_max: default: 32768 minimum: 301 [ 0.021363] Security Framework initialized [ 0.021383] Yama: becoming mindful. [ 0.021425] AppArmor: AppArmor disabled by boot time parameter [ 0.021509] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.021523] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.022552] CPU: Testing write buffer coherency: ok [ 0.023082] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.037177] Setting up static identity map for 0x80100000 - 0x80100060 [ 0.045088] Hierarchical SRCU implementation. [ 0.056219] EFI services will not be available. [ 0.061095] smp: Bringing up secondary CPUs ... [ 0.061114] smp: Brought up 1 node, 1 CPU [ 0.061126] SMP: Total of 1 processors activated (995.32 BogoMIPS). [ 0.061138] CPU: All CPU(s) started in SVC mode. [ 0.062722] devtmpfs: initialized [ 0.101366] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.101852] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.101887] futex hash table entries: 256 (order: 2, 16384 bytes) [ 0.105843] xor: measuring software checksum speed [ 0.145109] arm4regs : 1200.000 MB/sec [ 0.185065] 8regs : 1075.000 MB/sec [ 0.225064] 32regs : 988.000 MB/sec [ 0.265062] neon : 1624.000 MB/sec [ 0.265073] xor: using function: neon (1624.000 MB/sec) [ 0.265094] pinctrl core: initialized pinctrl subsystem [ 0.266331] NET: Registered protocol family 16 [ 0.269354] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.360416] omap_hwmod: debugss: _wait_target_disable failed [ 0.401216] cpuidle: using governor menu [ 0.407581] OMAP GPIO hardware version 0.1 [ 0.433017] No ATAGs? [ 0.433038] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.434663] omap4_sram_init:Unable to allocate sram needed to handle errata I688 [ 0.434689] omap4_sram_init:Unable to get sram pool needed to handle errata I688 [ 0.529127] raid6: neonx2 gen() 1883 MB/s [ 0.597088] raid6: neonx2 xor() 1497 MB/s [ 0.597100] raid6: using algorithm neonx2 gen() 1883 MB/s [ 0.597110] raid6: .... xor() 1497 MB/s, rmw enabled [ 0.597120] raid6: using neon recovery algorithm [ 0.604909] edma 49000000.edma: TI EDMA DMA engine driver [ 0.611807] SCSI subsystem initialized [ 0.613565] usbcore: registered new interface driver usbfs [ 0.613641] usbcore: registered new interface driver hub [ 0.613759] usbcore: registered new device driver usb [ 0.614678] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe [ 0.615661] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz [ 0.616958] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz [ 0.617501] media: Linux media interface: v0.10 [ 0.617562] Linux video capture interface: v2.00 [ 0.617753] pps_core: LinuxPPS API ver. 1 registered [ 0.617767] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.617794] PTP clock support registered [ 0.618445] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400 [ 0.621455] Advanced Linux Sound Architecture Driver Initialized. [ 0.622181] NetLabel: Initializing [ 0.622199] NetLabel: domain hash size = 128 [ 0.622210] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.622297] NetLabel: unlabeled traffic allowed by default [ 0.625522] clocksource: Switched to clocksource timer1 [ 0.789615] VFS: Disk quotas dquot_6.6.0 [ 0.789765] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.802462] NET: Registered protocol family 2 [ 0.803414] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.803466] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 0.803527] TCP: Hash tables configured (established 4096 bind 4096) [ 0.803650] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.803675] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.803891] NET: Registered protocol family 1 [ 0.812857] RPC: Registered named UNIX socket transport module. [ 0.812882] RPC: Registered udp transport module. [ 0.812890] RPC: Registered tcp transport module. [ 0.812898] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.813928] Unpacking initramfs... [ 1.017591] random: fast init done [ 1.061932] Freeing initrd memory: 4428K [ 1.062506] hw perfevents: no interrupt-affinity property for /pmu, guessing. [ 1.062724] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available [ 1.064790] audit: initializing netlink subsys (disabled) [ 1.066269] audit: type=2000 audit(1.064:1): state=initialized audit_enabled=0 res=1 [ 1.066424] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 1.072379] zbud: loaded [ 1.080084] NFS: Registering the id_resolver key type [ 1.080139] Key type id_resolver registered [ 1.080150] Key type id_legacy registered [ 1.080172] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.080552] fuse init (API version 7.26) [ 1.081163] SGI XFS with ACLs, security attributes, realtime, no debug enabled [ 1.100381] Key type asymmetric registered [ 1.100409] Asymmetric key parser 'x509' registered [ 1.100544] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 1.104887] io scheduler noop registered [ 1.104906] io scheduler deadline registered [ 1.105308] io scheduler cfq registered (default) [ 1.105324] io scheduler mq-deadline registered [ 1.107798] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 [ 1.119836] gpio-of-helper ocp:cape-universal: ready [ 1.130821] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle [ 1.133051] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled [ 1.136777] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250 [ 1.988476] console [ttyS0] enabled [ 1.993201] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250 [ 2.003091] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a 8250 [ 2.012942] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 33, base_baud = 3000000) is a 8250 [ 2.022794] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 34, base_baud = 3000000) is a 8250 [ 2.032608] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 35, base_baud = 3000000) is a 8250 [ 2.044791] omap_rng 48310000.rng: Random Number Generator ver. 20 [ 2.052429] [drm] Initialized vgem 1.0.0 20120112 for virtual device on minor 0 [ 2.060058] usbcore: registered new interface driver udl [ 2.073056] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 2.080382] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 2.087578] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 2.094754] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 2.102245] eqep 48300180.eqep: ver. 1.0 [ 2.106437] eqep 48300180.eqep: count_mode:0 [ 2.110775] eqep 48300180.eqep: invert_qa:1 [ 2.115006] eqep 48300180.eqep: invert_qb:1 [ 2.119235] eqep 48300180.eqep: invert_qi:0 [ 2.123461] eqep 48300180.eqep: invert_qs:0 [ 2.127687] eqep 48300180.eqep: swap_inputs:0 [ 2.132086] eqep 48300180.eqep: QDECCTL:0x0180 [ 2.136572] eqep 48300180.eqep: QPOSINIT:0x00000000 [ 2.141513] eqep 48300180.eqep: QPOSMAX:0xffffffff [ 2.146358] eqep 48300180.eqep: QPOSCNT:0x00000000 [ 2.151195] eqep 48300180.eqep: omit_interrupt:0 [ 2.155856] eqep 48300180.eqep: QEINT:0x0800 [ 2.160168] eqep 48300180.eqep: QUPRD:0x05f5e100 [ 2.164829] eqep 48300180.eqep: QEPCTL:0x009e write [ 2.169751] eqep 48300180.eqep: QEPCTL:0x009e read [ 2.174605] eqep 48300180.eqep: irq:135, clk_rate:100000000 [ 2.180461] eqep 48302180.eqep: ver. 1.0 [ 2.184581] eqep 48302180.eqep: count_mode:0 [ 2.188914] eqep 48302180.eqep: invert_qa:1 [ 2.193142] eqep 48302180.eqep: invert_qb:1 [ 2.197369] eqep 48302180.eqep: invert_qi:0 [ 2.201596] eqep 48302180.eqep: invert_qs:0 [ 2.205822] eqep 48302180.eqep: swap_inputs:0 [ 2.210220] eqep 48302180.eqep: QDECCTL:0x0180 [ 2.214706] eqep 48302180.eqep: QPOSINIT:0x00000000 [ 2.219627] eqep 48302180.eqep: QPOSMAX:0xffffffff [ 2.224461] eqep 48302180.eqep: QPOSCNT:0x00000000 [ 2.229296] eqep 48302180.eqep: omit_interrupt:0 [ 2.233957] eqep 48302180.eqep: QEINT:0x0800 [ 2.238268] eqep 48302180.eqep: QUPRD:0x05f5e100 [ 2.242928] eqep 48302180.eqep: QEPCTL:0x009e write [ 2.247849] eqep 48302180.eqep: QEPCTL:0x009e read [ 2.252696] eqep 48302180.eqep: irq:137, clk_rate:100000000 [ 2.258515] eqep 48304180.eqep: ver. 1.0 [ 2.262612] eqep 48304180.eqep: count_mode:0 [ 2.266941] eqep 48304180.eqep: invert_qa:1 [ 2.271169] eqep 48304180.eqep: invert_qb:1 [ 2.275396] eqep 48304180.eqep: invert_qi:0 [ 2.279621] eqep 48304180.eqep: invert_qs:0 [ 2.283846] eqep 48304180.eqep: swap_inputs:0 [ 2.288245] eqep 48304180.eqep: QDECCTL:0x0180 [ 2.292732] eqep 48304180.eqep: QPOSINIT:0x00000000 [ 2.297655] eqep 48304180.eqep: QPOSMAX:0xffffffff [ 2.302489] eqep 48304180.eqep: QPOSCNT:0x00000000 [ 2.307326] eqep 48304180.eqep: omit_interrupt:0 [ 2.311986] eqep 48304180.eqep: QEINT:0x0800 [ 2.316298] eqep 48304180.eqep: QUPRD:0x05f5e100 [ 2.320958] eqep 48304180.eqep: QEPCTL:0x009e write [ 2.325881] eqep 48304180.eqep: QEPCTL:0x009e read [ 2.330727] eqep 48304180.eqep: irq:139, clk_rate:100000000 [ 2.365411] libphy: Fixed MDIO Bus: probed [ 2.370576] CAN device driver interface [ 2.375783] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=42) [ 2.385817] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=43) [ 2.449642] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000 [ 2.457392] davinci_mdio 4a101000.mdio: no live phy, scanning all [ 2.464074] davinci_mdio: probe of 4a101000.mdio failed with error -5 [ 2.471557] cpsw 4a100000.ethernet: Detected MACID = 60:64:05:2e:a0:bf [ 2.478320] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4 [ 2.484748] cpsw 4a100000.ethernet: ALE Table size 1024 [ 2.490061] cpsw 4a100000.ethernet: cpts: overflow check period 1250 (jiffies) [ 2.500969] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.507695] ehci-platform: EHCI generic platform driver [ 2.513376] ehci-omap: OMAP-EHCI Host Controller driver [ 2.519608] usbcore: registered new interface driver usb-storage [ 2.528834] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator [ 2.542362] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator [ 2.556628] musb-hdrc musb-hdrc.1: MUSB HDRC host driver [ 2.562108] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1 [ 2.569883] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.576751] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.584032] usb usb1: Product: MUSB HDRC host driver [ 2.589043] usb usb1: Manufacturer: Linux 4.14.71-ti-r80 musb-hcd [ 2.595187] usb usb1: SerialNumber: musb-hdrc.1 [ 2.600702] hub 1-0:1.0: USB hub found [ 2.604683] hub 1-0:1.0: 1 port detected [ 2.620161] omap_rtc 44e3e000.rtc: already running [ 2.625929] omap_rtc 44e3e000.rtc: registered as rtc0 [ 2.632518] i2c /dev entries driver [ 2.637284] Driver for 1-wire Dallas network protocol. [ 2.645954] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 2.653595] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0) [ 2.663650] cpuidle: enable-method property 'ti,am3352' found operations [ 2.671341] sdhci: Secure Digital Host Controller Interface driver [ 2.677633] sdhci: Copyright(c) Pierre Ossman [ 2.682885] omap_hsmmc 48060000.mmc: Got CD GPIO [ 2.766185] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.774510] ledtrig-cpu: registered to indicate activity on CPUs [ 2.784876] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2 [ 2.791073] omap-aes 53500000.aes: will run requests pump with realtime priority [ 2.801912] omap-sham 53100000.sham: hw accel on OMAP rev 4.3 [ 2.815535] hidraw: raw HID events driver (C) Jiri Kosina [ 2.821224] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.829823] mmc0: new high speed SDHC card at address aaaa [ 2.836707] mmcblk0: mmc0:aaaa SC16G 14.8 GiB [ 2.842587] mmcblk0: p1 [ 2.846837] usbcore: registered new interface driver usbhid [ 2.852575] usbhid: USB HID core driver [ 2.857202] remoteproc remoteproc0: wkup_m3 is available [ 2.866256] mmc1: new high speed MMC card at address 0001 [ 2.878036] mmcblk1: mmc1:0001 W62704 3.56 GiB [ 2.884566] wireguard: WireGuard 0.0.20180925 loaded. See www.wireguard.com for information. [ 2.884572] wireguard: Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. [ 2.885411] NET: Registered protocol family 10 [ 2.905311] Segment Routing with IPv6 [ 2.905387] mip6: Mobile IPv6 [ 2.905404] NET: Registered protocol family 17 [ 2.905420] can: controller area network core (rev 20170425 abi 9) [ 2.905574] NET: Registered protocol family 29 [ 2.905725] Key type dns_resolver registered [ 2.905730] mpls_gso: MPLS GSO support [ 2.905966] omap_voltage_late_init: Voltage driver support not added [ 2.906440] PM: Cannot get wkup_m3_ipc handle [ 2.906634] ThumbEE CPU extension supported. [ 2.906657] Registering SWP/SWPB emulation handler [ 2.907695] registered taskstats version 1 [ 2.907840] zswap: loaded using pool lzo/zbud [ 2.914909] Btrfs loaded, crc32c=crc32c-generic [ 2.915018] ima: No TPM chip found, activating TPM-bypass! (rc=-19) [ 2.915042] ima: Allocated hash algorithm: sha256 [ 2.998507] mmcblk1boot0: mmc1:0001 W62704 partition 1 2.00 MiB [ 3.008150] mmcblk1boot1: mmc1:0001 W62704 partition 2 2.00 MiB [ 3.014746] mmcblk1rpmb: mmc1:0001 W62704 partition 3 512 KiB [ 3.029670] tda998x 0-0070: Error -121 writing to cec:0xff [ 3.035349] tda998x 0-0070: set_page 000a err -121 [ 3.097601] tda998x 0-0070: set_page 000a err -121 [ 3.161611] tda998x 0-0070: set_page 0001 err -121 [ 3.166521] tda998x 0-0070: set_page 0001 err -121 [ 3.171427] tda998x 0-0070: set_page 0200 err -121 [ 3.176335] tda998x 0-0070: set_page 0201 err -121 [ 3.181238] tda998x 0-0070: set_page 0202 err -121 [ 3.186140] tda998x 0-0070: set_page 0203 err -121 [ 3.191043] tda998x 0-0070: set_page 0204 err -121 [ 3.195945] tda998x 0-0070: set_page 0205 err -121 [ 3.200846] tda998x 0-0070: set_page 020e err -121 [ 3.205747] tda998x 0-0070: set_page 0211 err -121 [ 3.210648] tda998x 0-0070: set_page 0207 err -121 [ 3.215548] tda998x 0-0070: set_page 0208 err -121 [ 3.220447] tda998x 0-0070: set_page 0209 err -121 [ 3.225346] tda998x 0-0070: set_page 020a err -121 [ 3.230246] tda998x 0-0070: set_page 0206 err -121 [ 3.235147] tda998x 0-0070: set_page 0027 err -121 [ 3.240047] tda998x 0-0070: set_page 0000 err -121 [ 3.244948] tda998x 0-0070: set_page 0002 err -121 [ 3.250011] tilcdc 4830e000.lcdc: failed to bind 0-0070 (ops tda998x_ops): -6 [ 3.257596] tilcdc 4830e000.lcdc: master bind failed: -6 [ 3.277826] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0 [ 3.289231] tps65217 0-0024: TPS65217 ID 0xe version 1.2 [ 3.295117] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 3.302198] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz [ 3.309688] remoteproc remoteproc0: powering up wkup_m3 [ 3.315112] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168 [ 3.327496] remoteproc remoteproc0: remote processor wkup_m3 is now up [ 3.327512] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x193 [ 3.344558] PM: bootloader does not support rtc-only! [ 3.352066] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:46 UTC (946684846) [ 3.360972] of_cfs_init [ 3.363665] of_cfs_init: OK [ 3.367990] ALSA device list: [ 3.371179] No soundcards found. [ 3.379341] Freeing unused kernel memory: 1024K Loading, please wait... starting version 232 [ 3.838057] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 3.854753] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 3.866431] random: udevadm: uninitialized urandom read (16 bytes read) Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Warning: fsck not present, so skipping root file system [ 28.216318] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. [3J[H[J================================================================================ Starting eMMC Flasher from microSD media Version: [1.20180412: all ssh regneration override...] ================================================================================ ================================================================================ Prepare environment for flashing Starting at Sat Jan 1 00:01:12 UTC 2000 ---------------------------------------- ==> Giving system time to stablize... 5 4 \00\00 |
Thanks.
Hey Vinay,
Here are some inputs to resolve the issues:
1. Using the flasher image: The u-boot in the flasher image checks for the EEPROM ID in the EEPROM. If it doesn’t find a valid EEPROM ID, it will try to write a valid ID to the EEPROM and reset itself(reboot). So, the next time u-boot is loaded and executed, it should find the valid ID that was written the previous time. This however will not happen if EEPROM_WP(Write protect) pin is not grounded. The EEPROM_WP pin must be grounded in order to write anything to the EEPROM. Any write without this connection will fail, resulting in no EEPROM ID in the EEPROM and therefore an infinite loop u-boot.
2. Using the flashing script: From the log, this seems to be the same problem.
1 2 3 4 5 6 7 8 9 10 | Checking for Valid bbb-eeprom header ==> Invalid EEPROM header detected ===> Writing header to EEPROM 0+1 records in 0+1 records out 27 bytes copied, 0.00524933 s, 5.1 kB/s ===> eeprom check: [\FF\FF\FF] ======================================== Failed to read reboot parameter file: No such file or directory Rebooting. |
If you connect the EEPROM_WP to GND, this should resolve both the issues.
Best,
Neeraj
Hi Neeraj
I am the hardware engineer who designed the circuits and PCB for this project. Our design has EEPROM_WP connected to LCD_DATA_4 as it was in the design that was validated by Martin at Octavo. Problem with this is we knew LCD_DATA_4 had to be tied high for the correct boot order which it is via a 100K resistor, we did not know the EEPROM_WP needed to be tied low during the boot process. We already have the boards and these are directly connected together on an internal PCB layer so disconnecting them is not a viable option, what you do you suggest as a sensible solution?
Dman,
The boot mode configuration on the LCD pins is only relevant at boot. You can use the LCD pins as GPIOs during u-boot to set that pin the LOW. This would allow the flasher script to program the EEPROM.
You can also modify check_eeprom function in /opt/scripts/tools/eMMC/functions.sh to ignore the blank EEPROM. The function is called from /opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh script.
Best,
Neeraj
Hi Neeraj,
In the init-eMMC-flasher-v3.sh script, I commented out the “check_eeprom” as shown below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | source $(dirname "$0")/functions.sh #mke2fs -c #Check the device for bad blocks before creating the file system. #If this option is specified twice, then a slower read-write test is #used instead of a fast read-only test. mkfs_options="" #mkfs_options="-c" #mkfs_options="-cc" device_eeprom="bbb-eeprom" check_if_run_as_root startup_message prepare_environment countdown 5 #check_eeprom check_running_system activate_cylon_leds prepare_drive |
And then I tried, the flashing process started along with the cyclic led flashing. Once all the led’s turned off after flashing,I removed the sd card and power cycled the board. But now I don’t see anything on the serial terminal, nor the user led’s start to flash. I again retried with the sd card inserted to check if anything prints in the terminal and flashing restarts, but nothing. Any insights on why this may be happening
Hi Neeraj,
We made the changes in the script as you suggested and now board boots and we are able to log in. Thanks.
I have same problems as you.
>>We made the changes in the script as you suggested and now board boots and we are able to log in
could you please tell me what do you change in script ?
hswoo,
Did you set the EEPROM WP pin to GND?
Note that the flashed image would still check for the EEPROM ID. Please take a look at https://octavosystems.com/app_notes/osd335x-eeprom-during-boot/ to resolve the issues with EEPROM ID.
For specific errors, please take a look at the output of the script or post it here to determine what is going wrong.
Best,
Neeraj