Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1623 - Wrong board id for DSL-2750B D1 EU build causes LEDE image to not work #7955

Closed
openwrt-bot opened this issue Jun 29, 2018 · 3 comments
Labels

Comments

@openwrt-bot
Copy link

zAxny32:

device: DSL-2750B version D1 EU ([[https://openwrt.org/toh/hwdata/d-link/d-link_dsl-2750b_d1|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: 1�1�0
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.

@openwrt-bot
Copy link
Author

mkresin:

FYI, it was changed with https://git.openwrt.org/65654a3c541a81f135905dfa68f9e390b4c21419. But no idea if it was intentional or typo/mistake.

@openwrt-bot
Copy link
Author

zAxny32:

I think that's a mistake, another user has reported his bootlog [[https://forum.openwrt.org/viewtopic.php?id=61763|here]] and it's the same. Also, on this [[https://forum.openwrt.org/viewtopic.php?id=42206|thread]] only one person with revision D1 seems to have been successful installing the image, and another user reports the same error I got too

@openwrt-bot
Copy link
Author

jogo:

It's the Board ID my device uses:

CFE version 1.0.38-114.170 for BCM96318 (32bit,SP,BE)
Build Date: 一 4月 8 14:09:33 CST 2013 (root@delta.com)
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.2
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) : AW5200B
Number of MAC Addresses (1-32) : 11
Base MAC Address : bc:f6:85:5b:2d:f6
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

I have a DSL-2751 (Annex B), not a DSL-2750 (Annex A), so that might be the reason for the different Board IDs. Does this match with those with the AW5200U board ids?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant