Comments (9)
i mostly working on userspace...
from a quick check, it looks like:
1/ the cpuinfo's serialno is from otp nvmem
2/ the device-tree's serialno is from u-boot(march-rockchip/board.c)
so you can try to add logs in u-boot to trace it, likely it got a valid serialno from vendor storage(there's a factory tool to burn it, and mostly used for adb/fastboot), maybe you can try to comment out vendor storage serialno part in board.c
from meta-rockchip.
@JeffyCN can this be fixed on the Rockchip yocto side?
It seems all px30 are effected
from meta-rockchip.
as explained above, this doesn't look like a bug to me.
1/ that serial number is mostly used for adb and fastboot, if you want uniq serialno, check cpuinfo.
2/ that serial number would be factory burned one(vendor storage) or the otp one(same as cpuinfo's uniq serial number)
so it seems like you should ask your factory...
if you need it to be uniq, either ask them not to burn serialno in vendor storage, for burn a uniq one or hacl uboot to ignore.that
from meta-rockchip.
and absolutely yocto has nothing to do with it.
from meta-rockchip.
and of cause, you may also need to add logs in u-boot's board.c to conform that, since i really don't know much about u-boot, i mostly working on userspace things(like gstreamer, weston, xserver)
from meta-rockchip.
@JeffyCN It's not on the board side though as this is only when running via yocto as far as I can tell
And it's not possible to just use the serial from cpuinfo because we are using with balenaCloud which expects the serial number to be in /proc/device-tree/serial-number
Can it be overriden with a yocto layer or some device tree blob?
from meta-rockchip.
It's also not just on this platform. It seems to be all px30.
If you Google c3d9b8674f4b94f6 you will see this in huge number of results as hard coded
from meta-rockchip.
as mentioned above, that no is from uboot, the current code is reading from factory flashed no(vendor storage) then otp's uniq no. then it will set the dts and kernel cmdline, which is for android adb and fastboot mostly.
i've provide my suggestions, it has nothing to do with yocto, it's pure uboot and factory flow, please hack your uboot(or there even a config to disable vender storage in uboot) or ask your factory.
from meta-rockchip.
if you don't know how to use custom uboot, please check the readme of meta-rockchip
and about factory flow, there's a tool for them to burn serialno and eth mac bt mac hdmi key or something else i guess
that is to allow the customers using their own serialno instead of rockchip's cpu id
from meta-rockchip.
Related Issues (20)
- rknn-toolkit is not working for model transfering HOT 3
- ADBD is not fully working . HOT 6
- How to login into system? HOT 4
- fatal error: 'media/gpu/v4l2/v4l2_stubs.h' file not found HOT 5
- question: chromium v120 decode 4K HOT 14
- RAUC Integration HOT 7
- Running bitbake -c clean deletes rkbin HOT 1
- rk3588 weston cannot start HOT 5
- What is the best way to enable uart? HOT 2
- Build gnome desktop base on x11 HOT 1
- WPEwebkit on rk3288 HOT 11
- Update patches for newer version of chromium HOT 4
- Starting kernel invokes ""Synchronous Abort" - rk3328 HOT 14
- support for RV11XX SoCs HOT 1
- RK3399 & RK3568 reset/reboot every 10min HOT 5
- use local source code and change uart debug HOT 3
- RK3588
- Rock3 Model C, build settings HOT 7
- linux-libc-headers-4.19-custom-r0 do_install: oe_runmake failed
- bitbake core-image-minimal returns errors with Machine = "rockchip-rk3326-evb" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meta-rockchip.