Commit Graph

328 Commits

Author SHA1 Message Date
fcad1e5256 fix gen ext2 img error
when the SIZE is less than the final img size,
genext2fs will get error "not enough space".

Change-Id: Ie452d8532838151682d5568d9e45f379b8846916
Signed-off-by: hertz.wang <wangh@rock-chips.com>
2018-09-07 15:38:10 +08:00
7cc39fd534 common: build.sh: fix error when first build kernel.
Change-Id: I6193ee71e3ebb50bce65edb98de1daa0f0965b68
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
2018-09-04 18:09:36 +08:00
2327ec701d mke2img.sh: fix sometime ext2 image can't generate
error info: couldn't allocate a block (no free space)

Change-Id: Ia9384aada1057e3b2c8b13769ddf67dd15279a5d
Signed-off-by: Hans Yang <yhx@rock-chips.com>
2018-08-30 19:43:26 +08:00
719a7c96c8 Merge "rk3308: use compress Image for kernel" 2018-08-30 14:31:45 +08:00
3d4ffc442e rk3308: use compress Image for kernel
Change-Id: I66744258f552999a83e43f81d5b09404371e50fa
Signed-off-by: Hans Yang <yhx@rock-chips.com>
2018-08-30 14:30:59 +08:00
1cd2fac2b7 common: debian: improve build debian flow
Change-Id: Icd4bedb3c07592e728e4d57fc076cbd6ef15508f
Signed-off-by: Lin Huang <hl@rock-chips.com>
2018-08-23 16:16:46 +08:00
bfb6c207fe common: build.sh: support board config link to a new board config
Change-Id: I22f9278ecf57c941ec5c33fe1298d0b15c0b5dd2
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2018-08-20 11:54:27 +08:00
22309d29a8 common: buil.sh: move save all command to function
Change-Id: Ide0365ecb41dcf7e2103323f3f60aa5b0db8019f
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2018-08-20 11:44:10 +08:00
48f722e5a2 add mkfirmware and rkflash script for common use
Change-Id: I5b9240de2a4bc790cfef01c668d3f1c7c3db21eb
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2018-08-18 08:44:15 +08:00
bd9781f339 export the variable in BoardConfig and add prefix to these variable
we need the make these variable to be environment variable. that will
allow us to use these variable in Makefile.
ie. we need to know the oem and userdata file system type when we
mount it. and that is defined in BoardConifg

Change-Id: I1c816214c60aba4761c34ad8b3d8f5611f81cfbb
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2018-08-17 17:33:42 +08:00
9c0bae53e2 fix dueros 64bit compile
Change-Id: I6d3e35e196f561844df521281cbfa571725015ae
Signed-off-by: hertz.wang <wangh@rock-chips.com>
2018-08-08 20:33:39 +08:00
c0acebed54 common: build: add time consume for build common
Change-Id: Ibf2530fff979240bd12bc807b6e6098a11d257c9
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2018-08-08 09:28:53 +08:00
b6a09dbcc8 change the /data/duer destination when running
Change-Id: I274504d6a7830f67b6fef51e6ff02c340504763d
Signed-off-by: hertz.wang <wangh@rock-chips.com>
2018-08-03 16:28:28 +08:00
0058f421d2 device/rockchip: adjust the positon of ex2fs check cmd
Change-Id: Ic54b499e8c6e2a607f91b4e90f2a5a5e41026626
Signed-off-by: Sun ChuanHu <aaron.sun@rock-chips.com>
2018-07-25 11:26:58 +08:00
a27c42a82a common: mke2img.sh: fix image creation failed in some system
the mke2fs in some system don't support -d parameter. that cause
image creation fail. so we have to use genext2fs to create image

Change-Id: I4db65612b8f007201090e0a6a5f9088e776c57c2
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2018-07-23 16:51:11 +08:00
b44752164e common: mke2img.sh: fix pack image error
Change-Id: Ib1cccd1dd4d6d275021c7b4c901a5b8be5828128
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2018-07-23 08:36:36 +08:00
cfb48d2500 mke2img.sh: fix folder size calculation error when it have multilevel subdirectory
Change-Id: If7c9ad04fce7dc4d711864dcc2b29875c74fdaef
Signed-off-by: Hans Yang <yhx@rock-chips.com>
2018-07-21 10:51:52 +08:00
16934eb2a1 common: add mk-userdata
Change-Id: I24e1c4fb29e9569d18fb9e2e50d08e9bcfd9901b
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2018-07-18 16:27:11 +08:00
c5b84d5a56 common: fix make oem image bug
Change-Id: I85a03240b1718ae7e01c1df2903d9025c391d6e6
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2018-07-18 16:26:46 +08:00
5121d4b3ce Merge "common: modify scrip to make oem image" 2018-07-17 16:17:52 +08:00
8bf67ebba2 common: modify scrip to make oem image
Change-Id: I8f07e3024ff21d11f300b008e10d31e2189c5de9
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2018-07-17 16:17:06 +08:00
000a11812b build.sh: rm loader.bin before uboot build
fix multi loader.bin exist lead mkfirmware.sh execute error

Change-Id: I3d297a891b781fdb9ffbb18698bf9b6f0969b437
Signed-off-by: Hans Yang <yhx@rock-chips.com>
2018-07-16 20:02:04 +08:00
d26a368a0c build.sh: make sure correct update.img copy to IMAGE_PATH
don't use tools/linux/Linux_Pack_Firmware/rockdev/Image/update.img

Change-Id: I3718b7a1f986ff8d3a0896cdfbafc766e1b040d4
Signed-off-by: Hans Yang <yhx@rock-chips.com>
2018-07-12 17:06:39 +08:00
1b105d3fbc common: build.sh: add cleanall command. modify usage to discribe all command
Change-Id: I84a0ac25ae1c43352b3143b4187d8576b4fd9f44
2018-07-10 14:55:06 +08:00
b49e303624 common: build: add more function and command
move some command to function. so we can call from outside

Change-Id: Iab2f4017c76a7f1e57c3cf072bd349247d328814
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2018-07-05 14:15:56 +08:00
1310706c19 common: add script for common use
Change-Id: I5c4e3e97536fe76b6d8acd0d1e7e840dad0132b7
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2018-07-03 17:47:17 +08:00
4712aeaada rk3308: build: compatible for 32bit kernel and parameter
Change-Id: I9ab48e23dbe0e99ee1f8044ce075d01e71692702
Signed-off-by: Hans Yang <yhx@rock-chips.com>
2018-07-02 11:57:04 +08:00
6ea5e91a98 initial commit
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2018-06-23 10:08:13 +08:00