Comments (14)
the rockchip official sdk would have an ota flow(similar with android's), it should not be too hard to write your own version with wget md5sum and dd
for adding new partitions, you can try to modify the .wic file, or hack the rockchip-common.inc's gen_rkparameter to use your custom parameter.txt(rockchip's legacy partition table file)
from meta-rockchip.
I have been looking into RAUC and trying to see if I can use that. Part of it involves creating a uboot script.
from meta-rockchip.
I know that mender has integration for rockchip.
from meta-rockchip.
I am trying to use mender right now and I am getting the following error:
| install: cannot stat '/home/miguel/build/tmp/deploy/images/rockchip-rk3288-evb/uboot.env': No such file or directory
| + bb_sh_exit_handler
| + ret=1
| + [ 1 != 0 ]
| + echo WARNING: exit code 1 from a shell command.
| WARNING: exit code 1 from a shell command.
| + exit 1
It seems like the uboot.env file is not generated by meta-rockchip.
from meta-rockchip.
there's no plan to support mender(too much hacks to make BSP things work)
there should be another meta-rockchip with upstream kernel and u-boot, that might be easier to work with mender:
https://git.yoctoproject.org/meta-rockchip/
from meta-rockchip.
Does the upstream kernel and u-boot support rockusb mode? Right now all I have to do to enter rockusb mode on my board is press and hold the u-boot button while it is turning on.
from meta-rockchip.
i haven't used upstream u-boot, so no sure about that, maybe ask in the upstream u-boot's mail list or that meta-rockchip's issues.
but i think there's an android fastboot implememt, maybe try that.
from meta-rockchip.
Because of your unwillingness to even take a look at whether or not it is possible to get it to output a uboot.env file, I went ahead and used the other branches' u-boot and ended up bricking my device. The community version of meta-rockchip sucks, and you've provided no solutions for updates.
from meta-rockchip.
i mostly working on userspace, so yes, i'm not willing to debug u-boot. please ask u-boot maillist for upstream version or rockchip's u-boot maintainer for rk u-boot(check the committer).
and this meta-rockchip is highly hacked, it would be hard to adapt to things like mender, it should be much easier to start with standard upstream u-boot and kernel.
for other meta-rockchip, please fire issue there, there're lots of users using that version, i think they would know what happened to your board.
after all, the rockchip chip should have a maskrom key for recovery, it can enter maskrom mode(similar to rockusb), use 'upgrade_tool ul loader.bin' to download loader and enter rockusb mode again
from meta-rockchip.
Sorry for being upset, thought I had completely bricked it beyond repair for a second. I was able to find two tiny pads located on two separate spots on the board (this board is a random chinese board, not a standard evb or a firefly) and I was able to short them and enter maskrom mode. Still, I do think that I can modify your u-boot to support mender. The mender docs make it clear enough as to what needs to be changed, I'm just not seeing a uboot.env file in the output. I think it is the same as u-boot-initial-env but I am not sure.
Your version of meta-rockchip is the only one that has worked right out of the get-go and seems to be better supported than the other meta-rockchip.
from meta-rockchip.
If I am able to get it working with your version, will you accept a pull request?
from meta-rockchip.
maybe, i can create a new branch if your patches break other cases
from meta-rockchip.
So the missing u-boot.env file turns out might be the same as u-boot-rockchip-initial-env. I haven't tried modifying your source yet (I might just do the whole thing in another layer) (it's pretty late where I am so i'll try tomorrow). See https://hub.mender.io/t/compulab-iot-gate-imx8-does-not-generate-uboot-env-file-anymore/5948/8
from meta-rockchip.
I think I am going to give up on using mender as it seems to do a lot of proprietary stuff (requiring major changes of the bootloader). I'm probably going to stick with RAUC. I'll open a new issue with that.
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
- In branch scarthgap systemd build got an error HOT 3
- Conflict with linux-firmware definition in poky branch is scarthgap HOT 3
- OpenGL issue in glXChooseVisual HOT 2
- 6.1内核编译报错 HOT 3
- Building scarthgap with INIT_MANAGER = "systemd" fails in QA because of missing upstream status HOT 3
- no-prefix rootfs.img link breaks initramfs builds HOT 3
- IMAGE_FSTYPES:append is forcing wic onto initramfs HOT 3
- gstreamer playback x264 HOT 1
- Glibc:do_configure fails due to old kernel headers HOT 5
- Update kernel to latest one HOT 1
- rk3588, chromium 122 video HW acceleration with Scarthgap and Kernel 6.1 HOT 11
- scarthgap not building because of missing xserver version HOT 5
- Kernel 6 and gstreamer OpenGL is unusable slow? HOT 25
- 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.