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

[PATCH] bcm63xx: t-com w303v typ B: detect wifi chip & fix default failsafe mode [21.02.0] #4433

Closed
wants to merge 7 commits into from

Conversation

hontz1
Copy link

@hontz1 hontz1 commented Aug 9, 2021

sprom fallback need to intialize the wlan pci wifi-bridge correctly.
and reset button corrected - no regular boot without pressing the reset key fixed

  • broken wifi->fixed
  • default boot into failsafe->fixed

i compiled and tested only with the kernel 5.4 version and it is working now (wifi+boot),
kernel 5.10 should be similar, but is untested.
i also made a wiki at https://github.com/hontz1/openwrt_readme_t-com-w303v-B#readme

now OpenWrt boots regular, not failsafe anymore.  Reset button corrected.

Signed-off-by: Peter Morvay <fradika@24-mail.de>
add sprom for w303v, necessary for working wifi brcm-wl

Signed-off-by: Peter Morvay <fradika@24-mail.de>
add sprom for w303v, necessary for working wifi - brcm-wl, otherwise the chip is not detected

Signed-off-by: Peter Morvay <fradika@24-mail.de>
@hontz1 hontz1 changed the title get the t-com w303v working again t-com w303v sprom fallback + reset button Aug 9, 2021
@adschm
Copy link
Member

adschm commented Aug 19, 2021

This has formal issues regarding the commit title:

Use "bcm63xx:" prefix and describe the specific change you do, not just which file you touch. (Essentially a shorter version of the commit messages you already have).

https://openwrt.org/submitting-patches

@Noltari should be able to judge the content.

@adschm adschm added needs changes target/bcm63xx pull request/issue for bcm63xx target labels Aug 19, 2021
@hontz1 hontz1 changed the title t-com w303v sprom fallback + reset button bcm63xx: t-com w303v sprom fallback + reset button Aug 20, 2021
@hontz1 hontz1 changed the title bcm63xx: t-com w303v sprom fallback + reset button bcm63xx: t-com w303v typ B sprom fallback + reset button Aug 20, 2021
@hontz1
Copy link
Author

hontz1 commented Aug 22, 2021

it is only a setup up option of existing code, that's why you can apply this, rewrite my sentences.
my name must not be included due to this.
thanks

@adschm
Copy link
Member

adschm commented Sep 25, 2021

This still needs to be brought in proper shape. Please update or we will close this due to inactivity.

@adschm adschm added the stale pull request without feedback by the author for a long time label Sep 25, 2021
@hontz1
Copy link
Author

hontz1 commented Sep 26, 2021

today i wrote email to noltari as suggested. i am waiting for answer.
i did not know, that he was not contacted already

@hontz1 hontz1 changed the title bcm63xx: t-com w303v typ B sprom fallback + reset button bcm63xx: t-com w303v typ B detect wifi chip Sep 26, 2021
@hontz1 hontz1 changed the title bcm63xx: t-com w303v typ B detect wifi chip bcm63xx: t-com w303v typ B - detect wifi chip - stop reset/failsafe mode Sep 26, 2021
@hontz1 hontz1 changed the title bcm63xx: t-com w303v typ B - detect wifi chip - stop reset/failsafe mode bcm63xx: t-com w303v typ B - detect wifi chip - stop default reset/failsafe mode Sep 26, 2021
@hontz1
Copy link
Author

hontz1 commented Sep 30, 2021

hello @adschm ,
@Noltari does not answer, do you have an other idea besides closing and dropping?
thanks

@adschm
Copy link
Member

adschm commented Oct 2, 2021

You still have formal issues, i.e. generic titles without proper prefix etc., commit message not wrapped properly.

Apart from that, you could describe the reasons for your changes better.

@hontz1 hontz1 changed the title bcm63xx: t-com w303v typ B - detect wifi chip - stop default reset/failsafe mode [PATCH] bcm63xx: t-com w303v typ B: detect wifi chip & stop default failsafe mode [21.02.0] Oct 3, 2021
@hontz1 hontz1 changed the title [PATCH] bcm63xx: t-com w303v typ B: detect wifi chip & stop default failsafe mode [21.02.0] [PATCH] bcm63xx: t-com w303v typ B: detect wifi chip & fix default failsafe mode [21.02.0] Oct 3, 2021
@hontz1
Copy link
Author

hontz1 commented Oct 3, 2021

danke adschm. hier verlässt mich eine Schulenglisch. wenn du mir bitte gern helfen könntest. :)

@adschm
Copy link
Member

adschm commented Oct 3, 2021

danke adschm. hier verlässt mich eine Schulenglisch. wenn du mir bitte gern helfen könntest. :)

Deine Commit-Titel entsprechen nicht den Konventionen. Der Commit-Titel hat immer ein Prefix (in diesem Fall den Target-Namen) und sollte darüber hinaus spezifisch das Problem beschreiben, nicht welche Datei du änderst.

Ein guter Name für den ersten Commit wäre also z.B. "bcm63xx: fix active state for reset button on Speedport W-303V". Dadurch weiß der Leser sofort, worum es geht.

In der Commit-Message erklärst du dann, warum diese Änderung notwendig ist:
Der bisherige Wert "0" bzw. "ACTIVE_HIGH" für den Reset-Button ist falsch. Dies hat bisher dazu geführt, dass der Router in den Failsafe-Mode gebootet hat. Mit der Änderung bootet der Router normal.

Nach dem gleichen Prinzip updatest du dann die anderen beiden Commits.

Beachte auch, dass es mir um die Commits geht, nicht um den PR.

Im Wesentlichen sind deine Commit-Messages ja okay, man versteht zumindest grundsätzlich das Problem; man könnte das aber noch etwas besser aufbereiten. Im Wesentlichen reicht es wohl aus, wenn du den Inhalt deines ersten Posts nimmst und ihn auf die Commits aufteilst.

@hontz1
Copy link
Author

hontz1 commented Oct 3, 2021

danke, dass du den Inhalt verstehst. gern würde ich den commit-text ändern, aber hier auf GitHub.com kann ich das nicht mehr editieren.
finde den edit button nicht.
eh du mir jetzt alles schritt für schritt erklärst, kannst du es auch bitte machen, da es komplizierter scheint.
sonst komme ich hier nicht mehr weiter. wie gesagt, immer im sinne derer, die noch so ein alten router haben. mir ist die persönliche Erwähnung nicht so wichtig.
die Dateien von meinem Rechner sind leider bereits gelöscht, wegen Platzmangel. wäre also komplett neu aufzusetzen.
ich kann dir auch mein pw geben.
hier noch ein Screenshot, falls es doch nur ein button ist. danke
Bildschirmfoto 2021-10-03 um 15 44 34

gerade noch GitHub desktop installiert, kann dort aber auch nichts mehr machen

@hontz1
Copy link
Author

hontz1 commented Oct 3, 2021

sonst lassen wir es eben, steht jetzt alles auch im wiki.

now OpenWrt boots regular, not failsafe anymore.  Reset button corrected.

Signed-off-by: Peter Morvay <fradika@24-mail.de>
add sprom for w303v, necessary for working wifi brcm-wl

Signed-off-by: Peter Morvay <fradika@24-mail.de>
…default failsafe

bcm63xx:add sprom Speedport w303v, necessary for working wifi with brcm-wl, otherwise the chip is not detected

Signed-off-by: Peter Morvay <fradika@24-mail.de>
@hontz1
Copy link
Author

hontz1 commented Oct 3, 2021

alles klar kann geschlossen werden, vielen dank und ist wie auch schon vor 20 jahren .....

@hontz1 hontz1 closed this Oct 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs changes stale pull request without feedback by the author for a long time target/bcm63xx pull request/issue for bcm63xx target
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants