RUTX12 and similar UART connection for early boot logs

Hello. I am looking for ways to get early-boot logs from the RUTX12.
Upon opening, there is no apparent place to connect to.

I am building a customized image from the SDK, the first build being without almost any modifications. This sent the router into a bootloop, without any explanation.
I am hoping to troubleshoot it, in order to understand what went wrong with it.

Please instruct me where I could find this information and how to interface with the router to get logs from it.

Greetings,

The UART logs you mention are something that only our R&D or people who work with RMAs are able to collect. For your case, your best shot would be to Bootloader reset the device, and recompile the SDK. As you mention, with little to no changes to the SDK, you could probably try narrowing down which exact change it was that could’ve potentially caused this.

Kind regards,
M.

Hello,

I have some routers bought from you, in amounts of tens of these with currently more planned in the near future.
I ask please for help with regarding compiling a custom image for my needs.

I’ll go step by step what I have done and attach build log.

I have CI/CD where I put your SDK into it to run the build on our Kubernetes cluster. Here is the script for the runner:

  script:
    - |
      apt-get update && apt-get install -y --no-install-recommends \
        binutils-gold bison build-essential bzip2 ca-certificates curl cmake default-jdk \
        devscripts ecj file flex fuse g++ gawk gcc gcovr gengetopt gettext git gnupg groff \
        help2man java-wrappers java-propose-classpath jq libc6-dev libffi-dev libexpat-dev libncurses5-dev \
        libsqlite3-dev libssl-dev libxml-parser-perl lz4 liblz4-dev libzstd-dev make ocaml ocaml-findlib \
        patch pkg-config psmisc python-is-python3 python3-setuptools python3-yaml rsync ruby sharutils \
        swig u-boot-tools unzip uuid-dev vim-common wget zip zlib1g-dev python3.11 python3.11-dev \
        gperf ocaml-nox device-tree-compiler binutils libpcre3-dev subversion
    - |
      curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
        apt-get install -y nodejs
    - cd ${CI_PROJECT_DIR}/rutos-ipq40xx-rutx-sdk && ./scripts/feeds update -a
    - make -j$(nproc) -i -d V=sc > >(tee ${CI_PROJECT_DIR}/build_log.txt | tail -n 5000)

And here nproc resolves to 12 jobs concurrently.

What I need is potentially a few extra packages, maybe remove some others, prebuilt network and other configs and the list goes on.
The hope with this compiling is to have that end result. Unfortunately as of now, the SDK with no changes will not build a working image and result in bootlooping.

Thank you for the help in advance.

Greetings,

Things such as Custom SDKs and Custom Scripts are out of our technical support scope, therefore we’ll be unable to provide you full support with any further questions related to these tasks.

Regarding your Custom SDK issue, what kind of packages are you trying to compile? If the packages aren’t official ones from OpenWRT, there’s bound to be compatibility-related issues. The proper compiling logs are saved within the .txt file called build_log.txt.

Moreso, you can look into our Wiki for an example of compiling a custom SDK: RUTOS Software Development Kit (SDK) Instruction - Teltonika Networks Wiki

Regards,
M.

This topic was automatically closed after 60 days. New replies are no longer allowed.