Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
24d245e
bug fix for get u-boot-sunxi failed
liaods Apr 9, 2014
549937b
update u-boot-sunxi to commit 87ca6dc0262d18b76e4749fc6505ef596039656a
liaods Apr 9, 2014
b8908e8
fix compile u-boot failed
liaods Apr 15, 2014
21fdac0
update linux-sunxi to v3.4.79-r0
liaods Apr 15, 2014
0ea2bcf
update drivers to 3.4.79 of initramfs
liaods Apr 15, 2014
6475111
update pack tools for pcduino3
liaods Apr 15, 2014
9336eec
update drivers & config for pcduino3(udc/sata/wifi/ir)
liaods Apr 15, 2014
8e5ad49
make led2 work for rtl8188eus module on pcduino3
liaods Apr 15, 2014
8c3b05e
add script to copy changed files to patch dir for uboot
liaods Apr 15, 2014
38fb147
fix make livesuit image failed if shell is dash
liaods Apr 15, 2014
d957773
update kernel config(add usb touch driver)
liaods Apr 15, 2014
d62292f
fix compile issue after runnig 'make update'
liaods Apr 15, 2014
73b41f7
bug fix for gpio status random after bootup
liaods Apr 24, 2014
733d98a
update kernel config(add NAT,TUN,Usb camera)
liaods Apr 24, 2014
cc12e1c
add config for lvds
liaods Apr 28, 2014
425dbd5
touch & camera support
liaods Apr 28, 2014
42f0498
corrects lvds config
liaods Apr 28, 2014
7a072ca
corrects lvds config for touch
liaods Apr 29, 2014
6d02600
corrects lvds config for camera
liaods Apr 29, 2014
cca5fc8
bug fix hdmi-i2c conflict with i2c-1
liaods Apr 29, 2014
fb50e1e
sync pcduino3.fex
liaods Apr 29, 2014
a22fef5
csi camera support
liaods Apr 29, 2014
c8d25a2
rollback camera power logic for hardware design update
liaods Apr 30, 2014
c03eb00
add keypad support & ugly fix no sound issue for scratch
liaods Apr 30, 2014
4a9cc9d
make sunxi-codec driver built-in
liaods Apr 30, 2014
4301ec8
format flash when updating by production sd card
liaods Aug 7, 2014
6723c3a
set coherent_pool=2M, fix rt5370 wifi driver not work on pcduino3
liaods Aug 7, 2014
9a64e6f
update lvds config for new pcduino3 display shield
liaods Aug 7, 2014
fe49173
set dram clock to 408M
liaods Aug 7, 2014
71ff497
bug fix for logo not show when use lvds image
liaods Aug 7, 2014
5825e35
update gmac pin config, make it work
liaods Aug 7, 2014
7386ee3
merge pcduino3_lvds.fex
liaods Aug 7, 2014
5be17e9
pcduino3_nano support
liaods Sep 29, 2014
0a04ce2
fix cpu stall issue by uart driver
liaods Dec 6, 2014
0e93d0e
bug fix for nano gmac issue
liaods Dec 8, 2014
c94d018
add configs for building pcduino3b_lvds kernel image
liaods Mar 14, 2015
f945b65
add configs for building pcduino3b_lvds kernel image
liaods Mar 14, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Auto detect text files and perform LF normalization
* text=auto
*.sh text eol=lf
23 changes: 12 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CROSS_COMPILE=arm-linux-gnueabihf-
OUTPUT_DIR=$(CURDIR)/output
BUILD_PATH=$(CURDIR)/build
ROOTFS=$(CURDIR)/rootfs.img
Q=
Q=@
J=$(shell expr `grep ^processor /proc/cpuinfo | wc -l` \* 2)

include chosen_board.mk
Expand All @@ -26,7 +26,7 @@ clean:
rm -rf $(BUILD_PATH)

## patch
patch: linux-sunxi/.git
patch: linux-sunxi/.git u-boot-sunxi/.git
$(Q)$(CURDIR)/apply_patch.sh
$(Q)rm -f $(K_DOT_CONFIG)

Expand Down Expand Up @@ -100,15 +100,16 @@ endif
libs: cedarx-libs/.git

update:
$(Q)git stash
$(Q)git pull --rebase
$(Q)git submodule -q init
$(Q)git submodule -q foreach git stash save -q --include-untracked "make update stash"
-$(Q)git submodule -q foreach git fetch -q
-$(Q)git submodule -q foreach "git rebase origin HEAD || :"
-$(Q)git submodule -q foreach "git stash pop -q || :"
-$(Q)git stash pop -q
$(Q)git submodule status
$(Q)git pull
# $(Q)git stash
# $(Q)git pull --rebase
# $(Q)git submodule -q init
# $(Q)git submodule -q foreach git stash save -q --include-untracked "make update stash"
# -$(Q)git submodule -q foreach git fetch -q
# -$(Q)git submodule -q foreach "git rebase origin HEAD || :"
# -$(Q)git submodule -q foreach "git stash pop -q || :"
# -$(Q)git stash pop -q
# $(Q)git submodule status

%/.git:
$(Q)git submodule init
Expand Down
4 changes: 2 additions & 2 deletions allwinner-tools/livesuit/a20/default/env.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ mmc_root=/dev/mmcblk0p7
init=/init
loglevel=8
#set kernel cmdline if boot.img or recovery.img has no cmdline we will use this
setargs_nand=setenv bootargs console=${console} root=${nand_root} init=${init} loglevel=${loglevel} partitions=${partitions}
setargs_mmc=setenv bootargs console=${console} root=${mmc_root} init=${init} loglevel=${loglevel} partitions=${partitions}
setargs_nand=setenv bootargs coherent_pool=2M console=${console} root=${nand_root} init=${init} loglevel=${loglevel} partitions=${partitions}
setargs_mmc=setenv bootargs coherent_pool=2M console=${console} root=${mmc_root} init=${init} loglevel=${loglevel} partitions=${partitions}
#nand command syntax: sunxi_flash read address partition_name read_bytes
#0x40007800 = 0x40008000(kernel entry) - 0x800(boot.img header 2k)
#boot_normal=sunxi_flash read 40007800 boot;boota 40007800
Expand Down
11 changes: 1 addition & 10 deletions allwinner-tools/livesuit/a20/default/sys_partition.fex
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ size = 16384
;------------------------------>mmcblk0p5/nandb
[partition]
name = env
size = 4096
size = 32768
downloadfile = "env.fex"
verify = 1
;------------------------------>mmcblk0p6/nandc
Expand All @@ -52,12 +52,3 @@ size = 16384
downloadfile = "boot.fex"
verify = 1

[partition]
name = rootfs
size = 3686400
downloadfile = "rootfs.fex"
verify = 1

[partition]
name = private
size = 4096
Binary file modified allwinner-tools/livesuit/a20/eFex/usb/fed_nand.axf
Binary file not shown.
Binary file modified allwinner-tools/livesuit/a20/eFex/usb/fes.fex
Binary file not shown.
Binary file modified allwinner-tools/livesuit/a20/eFex/usb/hw_scan.axf
Binary file not shown.
Binary file modified allwinner-tools/livesuit/a20/eFex/usb/toolsb.fex
Binary file not shown.
Binary file modified allwinner-tools/livesuit/a20/eFex/usb/update_boot0.axf
Binary file not shown.
Binary file modified allwinner-tools/livesuit/a20/eFex/usb/update_boot1.axf
Binary file not shown.
Binary file modified allwinner-tools/livesuit/a20/eGon/boot1_nand.bin
Binary file not shown.
Binary file modified allwinner-tools/livesuit/a20/eGon/boot1_sdcard.bin
Binary file not shown.
6 changes: 3 additions & 3 deletions allwinner-tools/livesuit/a20/mod_update/script_parse
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ def check_part_name_valid(name):
def check_part_size_valid(size):
if not size.isdigit():
return (False, "invalid partition size, must be decimal base digit, unit: 512Bytes")
# if int(size) % 32768:
# return (False, "invalid partition size, must 16MB align, unit: 512Bytes")
if int(size) % 32768:
return (False, "invalid partition size, must 16MB align, unit: 512Bytes")
return (True, "valid")

def check_part_keydata_valid(keydata):
Expand Down Expand Up @@ -318,7 +318,7 @@ def check_part_config(conf_lines):
if int(value) % 16384:
error_msg("L%d: %s" % (i+1, line))
error_msg("invalid partition size, must 16MB align, unit: KB")
#return False
return False

elif cmp(mainkey, "partition_start") == 0:
error_msg("L%d: %s" % (i+1, line))
Expand Down
Binary file not shown.
Binary file added allwinner-tools/livesuit/a20/mod_update/simg
Binary file not shown.
1 change: 1 addition & 0 deletions allwinner-tools/livesuit/a20/wboot/bootfs/boot.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ start_os_name = linux
timeout = -1
display_device= 0
display_mode = 0
erase_flash=1


[linux]
Expand Down
Binary file not shown.
Binary file not shown.
Binary file modified allwinner-tools/livesuit/a20/wboot/bootfs/drv_de.drv
Binary file not shown.
Binary file not shown.
Binary file modified allwinner-tools/livesuit/a20/wboot/bootfs/os_show/bootlogo.bmp
Binary file not shown.
Binary file modified allwinner-tools/livesuit/a20/wboot/bootfs/prvt.axf
Binary file not shown.
Binary file modified allwinner-tools/livesuit/a20/wboot/bootfs/sprite.axf
Binary file not shown.
21 changes: 4 additions & 17 deletions allwinner-tools/livesuit/default/sys_config_linux.fex
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ pid =0x02000000
sid =0x02000100
bid =0x80

eraseflag = 0
jtag = 1
eraseflag = 1
jtag = 0


[fex_misc]
Expand Down Expand Up @@ -62,23 +62,15 @@ num = 4
class_name = DISK
name = env
size_hi = 0
size_lo = 2048
size_lo = 32768
user_type = 0
ro = 0

[partition2]
class_name = DISK
name = boot
size_hi = 0
size_lo = 16384
user_type = 0
ro = 0

[partition3]
class_name = DISK
name = rootfs
size_hi = 0
size_lo = 1843200
size_lo = 32768
user_type = 0
ro = 0

Expand Down Expand Up @@ -120,8 +112,3 @@ part_name = boot
pkt_name = KERNEL_000000000
encrypt = 0

[download3]
part_name = rootfs
pkt_name = ROOTFS_000000000
encrypt = 0

6 changes: 5 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,13 @@ generate_board_mk() {
EOT
;;
a20)
KERNEL_CONFIG=sun7i${android:+_nuclear}_defconfig
if [ -f patch/linux-sunxi/arch/arm/configs/${board}_defconfig ]; then
KERNEL_CONFIG=${board}_defconfig
fi
cat <<-EOT
MACH=sun7i
KERNEL_CONFIG=sun7i${android:+_nuclear}_defconfig
KERNEL_CONFIG=${KERNEL_CONFIG}
EOT
;;
*)
Expand Down
2 changes: 1 addition & 1 deletion linux-sunxi
Submodule linux-sunxi updated 519 files
Loading