Need help on OSD335x-BAS boot

Forums Devices OSD335x-BAS/IND Need help on OSD335x-BAS boot

Tagged: 

Viewing 1 reply thread
  • Author
    Posts
    • #10920
      Kai Liuallankliu
      Participant

        We have a custom made OSD3358-BAS gateway. According to the BOOT pin configuration, the boot sequence should be eMMC/SD/USB/UART. We are trying to boot it with image from BBB and flash the internal eMMC.

        bone-eMMC-flasher-debian-10.3-iot-armhf-2020-04-06-4gb.img.xz

        we burn the image into a TFC and boot, we get the following log from UART. (which is also attached for this thread).

        According to the log,

        – System is boot from TFC (which is MMC0?)
        – omap_hsmmc driver is missing
        – /boot/uboot.env is missing
        – MMC0/partition0 is active
        – MMC1 has no partition
        – USB0 not available
        – musb-hdrc USB OTG is loaded
        – USB Ethernet is detected

        Then the system is keep waiting for remote access from ethernet…If we remove TFC, the UART keeps printing C, which means no OS at all.

        I guess I should remotely log into Linux (boot from TFC) and mkfs for MMC1 (aka internal eMMC), then the sytem can flash the Linux into eMMC. However, I have no idea which methods(steps) I should follow at this moment.

        Remote access via UART? or Ethernet? With password as debian and temppwd? I am appreciated if someone can help me about this boot issue. Thanks.

        ——————————————————————————-

        U-Boot SPL 2019.04-00003-g2bf638a03e (Mar 06 2020 – 11:25:08 -0600)

        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-00003-g2bf638a03e (Mar 06 2020 – 11:25:08 -0600), Build: jenkins-github_Bootloader-Builder-137

        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 **

        <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 44 ms (0 Bytes/s)
        Loaded environment from /boot/.eeprom.txt

        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
        2004 bytes read in 46 ms (42 KiB/s)
        Loaded environment from /boot/uEnv.txt
        Checking if uname_r is set in /boot/uEnv.txt…
        ** Invalid partition 2 **
        ** Invalid partition 3 **
        ** Invalid partition 4 **
        ** Invalid partition 5 **
        ** Invalid partition 6 **
        ** Invalid partition 7 **
        switch to partitions #0, OK
        mmc1(part 0) is current device
        **
        No partition table – mmc 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
        mmc1(part 0) is current device
        gpio: pin 54 (gpio 54) value is 1
        ** No partition table – mmc 1 **
        Checking for: /uEnv.txt …
        ** No partition table – mmc 1 **
        Checking for: /boot.scr …
        ** No partition table – mmc 1 **
        Checking for: /boot/boot.scr …
        ** No partition table – mmc 1 **
        Checking for: /b
        oot/uEnv.txt …
        ** No partition table – mmc 1 **
        ** No partition table – mmc 1 **
        ** No partition table – mmc 1 **
        ** No partition table – mmc 1 **
        ** No partition table – mmc 1 **
        ** No partition table – mmc 1 **
        ** No partition table – mmc 1 **
        starting USB…
        USB0:
        Port not available.
        using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
        MAC 60:64:05:e6:25:fa
        HOST MAC de:ad:be:af:00:00
        RNDIS ready

        The remote end did not respond in time.missing environment variable: pxeuuid
        Retrieving file: pxelinux.cfg/01-60-64-05-e6-25-fa
        using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
        MAC 60:64:05:e6:25:fa
        HOST MAC de:ad:be:af:00:00
        RNDIS ready

        The remote end did not respond in time.Retrieving file: pxelinux.cfg/C0A80102
        using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
        MAC 60:64:05:e6:25:fa
        HOST MAC de:ad:be:af:00:00
        RNDIS ready

        The remote end did not respond in time.Retrieving file: pxelinux.cfg/C0A8010
        using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
        MAC 60:64:05:e6:25:fa
        HOST MAC de:ad:be:af:00:00
        RNDIS ready

        The remote end did not respond in time.Retrieving file: pxelinux.cfg/C0A801
        using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
        MAC 60:64:05:e6:25:fa
        HOST MAC de:ad:be:af:00:00
        RNDIS ready

        The remote end did not respond in time.Retrieving file: pxelinux.cfg/C0A80
        using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
        MAC 60:64:05:e6:25:fa
        HOST MAC de:ad:be:af:00:00
        RNDIS ready

        The remote end did not respond in time.Retrieving file: pxelinux.cfg/C0A8
        using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
        MAC 60:64:05:e6:25:fa
        HOST MAC de:ad:be:af:00:00
        RNDIS ready

        The remote end did not respond in time.Retrieving file: pxelinux.cfg/C0A
        using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
        MAC 60:64:05:e6:25:fa
        HOST MAC de:ad:be:af:00:00
        RNDIS ready

        The remote end did not respond in time.Retrieving file: pxelinux.cfg/C0
        using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
        MAC 60:64:05:e6:25:fa
        HOST MAC de:ad:be:af:00:00
        RNDIS ready

        The remote end did not respond in time.Retrieving file: pxelinux.cfg/C
        using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
        MAC 60:64:05:e6:25:fa
        HOST MAC de:ad:be:af:00:00
        RNDIS ready

        The remote end did not respond in time.Retrieving file: pxelinux.cfg/default-arm-am33xx
        using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
        MAC 60:64:05:e6:25:fa
        HOST MAC de:ad:be:af:00:00
        RNDIS ready

        The remote end did not respond in time.Retrieving file: pxelinux.cfg/default-arm
        using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
        MAC 60:64:05:e6:25:fa
        HOST MAC de:ad:be:af:00:00
        RNDIS ready

        The remote end did not respond in time.Retrieving file: pxelinux.cfg/default
        using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
        MAC 60:64:05:e6:25:fa
        HOST MAC de:ad:be:af:00:00
        RNDIS ready

        The remote end did not respond in time.Config file not found
        starting USB…
        USB0:
        Port not available.
        using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
        MAC 60:64:05:e6:25:fa
        HOST MAC de:ad:be:af:00:00
        RNDIS ready

        The remote end did not respond in time.using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
        MAC 60:64:05:e6:25:fa
        HOST MAC de:ad:be:af:00:00
        RNDIS ready

        The remote end did not respond in time.=>

      • #10936
        Neeraj Dantu
        Moderator

          Allankliu,

          It looks like U-Boot is reading the uEnv.txt file located in /boot folder and then something goes wrong. When using the [BLNK] EEPROM ID, Beagleboard images default to Beaglebone Black configuration. First, check if your board configuration is same as Beaglebone Black in regards to the pins used to the MMC interface to boot. Please note that you may have to recompile U-Boot and kernel device trees if you are not using the same pins for the boot media.

          You can also stop the boot at U-Boot when it prompts you this message “Press SPACE to abort autoboot in 2 seconds”. You can then use mmc commands in U-Boot to check for presence or absence of MMC interfaces. Some of the commands available in U-Boot shell are shown here: https://sites.google.com/site/manisbutareed/bringing-my-beagles-to-heel/u-boot-commands.

          More useful resources:

          https://octavosystems.com/app_notes/osd335x-eeprom-during-boot/

          Custom board Linux build: https://www.digikey.com/eewiki/display/linuxonarm/OSD3358-SM-RED

          Best,

          Neeraj

           

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.