BTW my kbi version is 00 01 and I switched bootmode to spi with kbi bootmode w spi and checked with kbi bootmode r, further I compiled u-boot two days ago, means a recent clone of your repository stuff.
Why there is no saveenv command in u-boot anymore to save the custom environment after adding own environment keys., that can survive a reboot.
Why I am asking for is the need to modify the key boot_targets and save the changes persistently. Or want expand bootargs with cpu, cpuid, serial and board_type_name so that the boot kernel parameters gets into the operating system for further determination and discrimination.
kbi adc reports 0x0
Is this correct?
kbi usid reports 000000
Shouldn’t be the serial id?
kbi poweroff is not shutting down the system, it reboots again. Why?
kbi ethmac reports 00:00:00:00:00:00
Is this correct?
Do I miss some i2C pointer or mcu info, should I try the mainline u-boot for that?
For what is kbi forcereset used for?
I flashed the u-boot-spi.bin image after reboot I am using version to validate the change and I got
You can read the kbi version .It mean that I2C is fine.
This pin is used for other functions, so it is not used for ADC
We don’t set the serical id ,so zero is true.
The ethmac is written on the EMMC and may be erased. There is a two-dimensional code on the back of the board that can scan out the corresponding values.We have a burning tool, which we will give you later.
@giminni I remember that you i2c driver worked fine last time.So I think there should be no problem on the hardware.Which version with firmware you used ? Did you used SD crad ? I think you firmware was damaged .
@Frank right, I saw the i2c output, now something happens and i don’t know why.
Here my steps
Compiled kernel and u-boot with fenix 0.7
Flashed u-boot-spi.bin into DDR
Copied the latest Ubuntu server Edge-V image into an sdHC Card
Entirely erased eMMC card with zeros
Created a fresh partition on eMMC starting at sector 32768 (+16MiB)
Changed kbi bootmode from emmc to spi
Booting from sdHC card
One error at the moment is I can’t enter the upgrade mode, board is always booting up even if no sdHC card is inserted and I am using an USB-C data cable.
What are the steps to recover properly to a functioning u-boot?
Power-on Edge with an USB-C data cable inserted into a PC.
Quickly press the Function key 3 times in 2 seconds, then release the key.
You will see the Power-LED (Blue) blink for about 3 seconds. After the Power-LED (Blue) turns OFF, this indicates that the board is in Upgrade Mode (Maskrom Mode).
Result: Red led goes on, then off, Power-LED (Blue) blinked two times in one second, red goes on then went off, then steady blue
I need help from my new friends … I’m not able to connect with RKDevInfoWriteTool in other software “Found One Loader” appears but RKDevInfoWriteTool is not connected … I’m using windows 7 x64 and I need to solve the problem solve my box a Tx2 - R2 rk3229