gioreva
September 17, 2019, 7:51am
1
I do not understand what happens.
Same config of a year ago and says file too large.
https://pastebin.com/hUkcrCyX
This project
![image|308x500](upload://9xeEsCUxVEYF6b6Y4zUBzGr4IRI.png) git clone https://git.openwrt.org/openwrt/openwrt.git
./scripts/feeds update -a
./scripts/feeds install -a
Copy custom on /files/
Change to a5-v11
/target/linux/ramips/image/rt305x.mk (Flash Size 8M)
/tools/firmware-utils/src/mkporayfw.c (Flash Size 8M)
/target/linux/ramips/dts/rt5350_unbranded_a5-v11.dts
&esw {
mediatek,portmap = <0x00>;
mediatek,portdisable = <0x0f>;
};
/target/linux/ramips/base-files/etc/board.d/02_network
a5-v11)
ucidef_set_interface_lan "eth0.1"
ucidef_add_switch "switch0" "6@eth0"
ucidef_add_switch_vlan "switch0" "1" "6t"
;;
make menuconfig (.config)
Target "Mediatek Ralink MIPS"
Subtarghet "RT5350"
Targhet profile "A5-V11"
Base system:
Block-mount - block device mounting and checking
Blockd - Block device automounting
Global Build Settings ---->
Select all taghet
Select all
Kernel module ---->
Filesystem --->
Kmod-fs-msdos
Kmod-fs-vfat
Usb Support -->
kmod-usb2
kmod-usb-uhci
kmod-usb-ohci
kmod-usb-storage
kmod-usb-storage-extras
kmod-usb-storage-uas
kmod-usb-wdm
Network ---->
Web Server ---->
apache
Iperf
Iperf3
ppp
ppp-mod-pppoa
ppp-mod-pppoe
ppp-mod-pppol2tp
ppp-mod-pptp
Luci ---->
Collection ---->
Luci
Application ---->
Luci-app-samb
Themes ---->
Material
Utility -->
usb-modeswitchusbutils
make -j1 V=s (debug)
tmomas
September 17, 2019, 8:20am
2
The A5-V11 has only 4MB flash. Where do the 8MB come from?
gioreva
September 17, 2019, 8:33am
3
Same change I did a year ago.
On
/target/linux/ramips/image/rt305x.mk
I've changed in
define Device/unbranded_a5-v11
MTK_SOC := rt5350
IMAGE_SIZE := 3776k
IMAGES += factory.bin
IMAGE/factory.bin := \
$$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B A5-V11 -F 8M
DEVICE_VENDOR := DEVICE_MODEL := A5-V11
DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2
SUPPORTED_DEVICES += a5-v11
endef
TARGET_DEVICES += unbranded_a5-v11
On
/tools/firmware-utils/src/mkporayfw.c
I've changed in
static struct board_info boards[] = {
{
.id = "A5-V11",
.hw_id = HWID_A5_V11,
.layout_id = "8M",
.key = KEY_A5_V11,
}, {
gioreva
September 17, 2019, 10:14am
4
My hardware is similar to a5-v1, but not same.
Has more flash and RAM
https://shop.gevaelettronica.it/en/4-battery-poe
gioreva
September 17, 2019, 2:06pm
6
No, only change are 4M to 8M
I do not understand what he means by IMAGE_SIZE
In the past I had not changed.
gioreva
September 18, 2019, 8:18am
7
Help.
Same configuration than a year ago.
Before, Free space: 92% ( 988.00 KB )
Now it says too big files.
What can be changed?
I also did it all over again and nothing. "make distclean" feed ... etc.
https://pastebin.com/9HvTx5Pb
juppin
September 18, 2019, 5:29pm
8
I think this thread is drifting away from it´s main topic...
@gioreva Is your topic solved?
Have you another question regarding youre device? Then please open a new thread for your other issues...
2 Likes
gioreva
September 19, 2019, 6:48am
9
@juppin
I solved "file too large" changing IMAGE_SIZE := 7872k
Now I can go back to work on the repository.
2 Likes
gioreva
September 19, 2019, 1:37pm
10
Image is compiled and uploaded through Uboot.
But it does not boot, what could it be?
boot: https://pastebin.com/bfQf3F8L
Uboot: https://pastebin.com/cDj8Qu7U
juppin
September 19, 2019, 3:02pm
11
OFFTOPIC
There is something wrong with your root partition...
Probably it exceeded the maximum size...???
I see trasfered size of your tftp image is bigger than the erased/written bytes...
Please open another thread for your problem and describe everything you have done...
For example:
git clone ...
edit file ...
place xxx-sysupgrade as xxx.img in tftp root
choose boot option x in ralink uboot
And post everything as log in this forum with the preformed text function and probably tje hide details option.
This is better than pastebin as this lasts here "forever".
1 Like
tmomas
September 19, 2019, 4:01pm
12
1 Like
tmomas
Closed
September 29, 2019, 4:13pm
13
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.