garywang
(gary)
October 12, 2017, 11:42pm
10
Can you please try to build and program image to emmc by following instruction?
Instruction
Please clone the latest code from github(https://github.com/garywangcn/bpi-r2_lede/tree/bpi-r2-on-lede-v1 ) and then follow below steps to build/program both rootfs and uImage :
Run make menuconfig in root directory of bpi-r2_lede
Enable squashfs: Target Images ->squashfs
Rebuild lede by executing command: make
The root.squashfs and uImage-mt7623n-bananapi-bpi-r2 will be programmed to EMMC via tftp, they are located at build_dir/target…/linux-mediatek_32/
Copy above images to /tftpboot/(please enable tftp service first)
Boot the board to Uboot prompt, configure the IP address/netmask/gatewayip/serverip, make sure the R2 board is able to access tftp server.
Run below command to program uImage-mt7623n-bananapi-bpi-r2:
tftp 84000000 uImage-mt7623n-bananapi-bpi-r2
mmc dev 0
mmc write 84000000 1000 6000
Run below command to program root.squashfs to EMMC:
tftp 84000000 root.squashfs
mmc dev 0
mmc write 84000000 20A00 6000
10.Run command: boot
Please note that the first reboot will take a few minutes to sync file system.
Thanks garywang. It works!
“df -h” :
And in LUCI:
garywang
(gary)
October 14, 2017, 1:15am
12
Good news, thanks for your informatio, please let me know if you have any question.
garywang
(gary)
October 23, 2017, 3:13pm
13
Image
New test images(kernel and root.squashfs) are available:
http://pan.baidu.com/s/1nuXrUTb
How to program both uImage and root file system
Copy both uImagelede and root.squashfs to tftp server
Run below command to program uImagelede
tftp 84000000 uImagelede
mmc dev 0
mmc write 84000000 1000 6000
Run below command to program root.squashfs to EMMC:
tftp 84000000 root.squashfs
mmc dev 0
mmc write 84000000 20A00 6000
Run command: boot
Configure an available IP address and then run below commands when entering OS
opkg update
opkg install luci-theme-bootstrap
opkg install luci-mod-admin-full
Connect R2 board via web
2 Likes
pkalemba
(Paweł Kalemba)
October 26, 2017, 6:17am
14
With this image it Will possible to use R2 as a normal router?, i got problems with nat on Ubuntu.
garywang
(gary)
October 26, 2017, 7:25am
15
Yes, it’s possible to make R2 to be a router.
On Ubuntu, the HNAT will NOT be supported, the HNAT is supported based on DSA structure, but there is no DSA within kernel 4.4(ubuntu is using), so it’s a huge task to port HNAT from lede(4.9 kernel) to Ubuntu(4.4 kerenl).
frank-w
(Frank W.)
October 26, 2017, 8:59am
16
Can 4.9 from lede be used for ubuntu? Where are problems? If the problem with sd-card in 4.14 can be solved it can also be used.
Replace the current uImage with v4.14 kernel so that you can run HNAT on Ubuntu. I’ve done it before…
frank-w
(Frank W.)
October 26, 2017, 12:35pm
18
@Ryder.Lee Is sd-card-problem solved?
RW2003
October 26, 2017, 4:16pm
19
How a can configure my IP Address?
I tried it with ifconfig br-lan add … and route add default gw …
I can ping my PC successfully but I got no internet
garywang
(gary)
October 27, 2017, 12:13am
20
Hi RW2003
The DNS should be configured and the /etc/config/firewall will be changed, please refer to http://forum.banana-pi.org/uploads/default/original/2X/8/84d6c0336af978c299fb73556fd67d896e719d52.png
I think this problem is not like that. I have intenet now. And did not change any things in “/etc/config/firewall”. Actually I just change the ifname for “wan ” and “wan6 ” in the "/etc/config/network " to “wan ” but not “eth1”. And it works.
linkerosa
(dorabmon)
October 27, 2017, 12:47pm
22
Could you send pull request back to github. Lets us make support lede better.
RW2003
October 27, 2017, 4:13pm
23
There is no wifi available yet, right?
frank-w
(Frank W.)
October 27, 2017, 4:19pm
24
Wifi-ap-driver is currently in testing state for debian-kernel (4.4.70)
pkalemba
(Paweł Kalemba)
October 30, 2017, 7:12pm
25
Install commands not work… ‘cannot Install package’
garywang
(gary)
October 30, 2017, 11:50pm
26
garywang:
luci-theme-bootstrap
Do you mean that both luci-theme-bootstrap and luci-mod-admin-full can’t be installed, right?
pkalemba
(Paweł Kalemba)
October 31, 2017, 6:01am
27
Yup, some packages can be installed eg. curl but some cannot eg. htop
Sam
(Sam)
November 2, 2017, 6:24pm
28
1 Like
Tohin
November 5, 2017, 5:26pm
29
can’t download uImageLede by this link. root.squashfs downloaded without problem.