Wrong board id for DSL-2750B D1 EU build causes LEDE image to not work
Username: Antonio Napolitano
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=1623
device: DSL-2750B version D1 EU (
Techdata
)
LEDE version: 17.01
(I hope I picked the right category)
I tried flashing the image from the link in the techdata page, but the device says it doesn’t accept it because of a wrong id, so I connected to the serial pins to see what is the right id and this is the boot log:
HELO CPUI L1CI DRAM
PHYS PHYE DDR1 333H SIZ3 RACE PASS
ZBSS CODE DATA L12F MAIN
CFE version 1.0.38-114.170 for BCM96318 (32bit,SP,BE) Build Date: Thu Mar 28 13:52:02 HKT 2013 (root@ubuntu) Copyright (C) 2000-2011 Broadcom Corporation.
HS Serial flash device: name MX25L64, id 0xc217 size 8192KB Total Flash size: 8192K with 2048 sectors Flash not used for Auxillary File System Chip ID: BCM6318B0, MIPS: 333MHz, DDR: 333MHz, Bus: 166MHz Main Thread: TP0 Total Memory: 67108864 bytes (64MB) Boot Address: 0xb8000000
Board IP address : 192.168.1.1:ffffff00
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 1
Board Id (0-6) : AW5200U
Number of MAC Addresses (1-32) : 11
Base MAC Address : 6c:19:8f:8d:b8:fc
PSI Size (1-64) KBytes : 24
Enable Backup PSI [0|1] : 0
System Log Size (0-256) KBytes : 0
Auxillary File System Size Percent: 0
Main Thread Number [0|1] : 0
*** Press any key to stop auto run (1 seconds) *** Auto run second count down: 110 udp bind success g_secs=02 No received any packet Packet loss:0, noncontinuative packets:0 Booting from only image (0xb8010000) ...
as you can see the correct board id is AW5200U, but in target/linux/brcm63xx/image/bcm63xx.mk at line 511 the device is defined like this:
define Device/DSL275XB-D1
$(Device/bcm63xx)
DEVICE_TITLE := D-Link DSL-2750B/DSL-2751 rev D1
DEVICE_DTS := dsl-275xb-d
CFE_BOARD_ID := AW5200B
CFE_CHIP_ID := 6318
FLASH_MB := 8
DEVICE_PACKAGES :=
$(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += DSL275XB-D1
so I tried compiling myself the image changing this line:
CFE_BOARD_ID := AW5200B
to this:
CFE_BOARD_ID := AW5200U
and it worked, my device now has LEDE installed and I’ve not encountered any problem so far.
So the solution for this problem seems to be very simple: changing that line. Also, I’d be happy to contribute to this project providing you any information you need of this device and/or contributing to the wiki.