Skip to content

Professional profile

化衍 涂

聯發科 Senior Software Engineer

Hsinchu Metropolitan Area Taiwan · 14 years of experience

Summary

XyXEL: Firmware engineer for Wireless AP and Controller. (2.5 years) MStar: TV/BOX SW RD for system integrate. (2 years, now) Network product for Ethernet/Wireless. (ZyXEL) Linux/Linux kernel/eCos/Android platform. (ZyXEL and Mstar) Embedded Firmware engineer. (ZyXEL and Mstar) Similar w/ embedded debug tool: adb/gdb/ASAN/KASAN/Valgrind/DS-5/ICE/objdump/readelf/addr2line/Strace etc... Project Leader (manage under 5 people). Shell script.

Experience

  1. Senior Software Engineer · 聯發科

    2019-01-01 – Present

    1. Linux kernel maintain - device driver maintain and develop 2. Linux kernel memory mechanism - Continues Memory Allocator(CMA) - Input Output Memory Management Unit(IOMMU) - ION/DMABUF - other memory mechanism 3. HW IP verification and develop device driver 4. Micro processor system integrator, RISC-V or Cortex-M4/M7 - HAPS/FPGA mulation for HW IP verification - Develop and maintain RISC-V platform software - FreeRTOS maintain - System integrator for micro processor 4. domain expert for micro processor

  2. Senior Engineer · MStar Semiconductor

    2016-08-01 – 2018-12-01

    - FAE for MStar Interface SDK (BOX). - SW RD for MStar Interface SDK (TV/BOX). - Toolchain upgrade for MIPS/ARM chip product. - Project Leader: * Co-work w/ Kernel team/driver team/Test team/CI team/Android team/HW team etc... * Plan Schedule for Bring up chip/Test slot/Release. * Bring up Kernel mode SDK. * Makefile/Make flow/Code tree discussion and design. - System integrator - similar w/ debug tool: * adb/gdb/gdbserver for user space debug. * ASAN/KASAN for memory corruption. * Valgrind for memory lead/corruption. * readelf for ELF format debug. * objdump/addr2line for dis-assembly. * DS-5 for performance (ARM). * ICE for kernel/mboot debug. * Strace for system call trace. - System owner for OS/SYS/FLASH

  3. 高級工程師(Firmware/Software Engineer) · ZyXEL

    2014-03-01 – 2016-07-01

    工作環境與產品皆為Linux,主要是利用Linux cross compiler來建置韌體,並且有時會需要用到tool chain上的tool來協助debug。而我們team主要負責controller控管AP的protocol(CAPWAP),還有其他上層的application,或是一般在Linux上比較common的issue。 偶爾也會接觸到底層的部分,例如ioctl與netlink的應用或是看一些kernel的bug與flow,甚至有需求時新增kernel module(e.g. netfilet hook)等等。 目前主要的工作內容: 使用C語言與script開發Linux上各種feature: - 網路client/server架構的application。 - Multi-thread架構開發,必須注意不同thread存取時會遇到dead lock, race condition, double free, memory corruption等問題。 - Linux IPC, domain socket的應用會牽扯到blocking/non-blocking mode和async. 跟 sync等問題。 - Kernel module,Linux kernel中的netfiler可以掛一些自己想要掛上去的hook,透過這些hook來去完成我們想要的網路功能。 - 開發一些shared library給其他人使用。 - Open source porting。 - applications modulize 在不同platform。 Debug部分: - Gdb,分析coredump或是透過break point方式去run-time debug。有些特殊狀況可能會使用到gdb-server去remote debug。須考慮到symbol & optimize的問題。 - Strace,分析application在處理system call的時候有沒有什麼問題,比如一些IPC頻繁的apps,之間sendto, recvfrom的結果。或是找不到lib, ioctl fail, fd leak等問題。 - Objdump,當kernel panic/oops分析完dmesg後可能需要objdump一些obj file來去trace死掉的點。 - Memory Leak,可以透過valgrind等Linux上的tool來掃,或是用Malloc HOOK, mtrace等方式來分析。 - Linux上的tool,例如: tcpdump, netstat, traceroute, ping, /porc底下檔案的分析等等。 - Printf/printk Enhancement / Refactor: - 在原有的feature上面增加一些新的功能,或是舊有架構不容易擴充與維護,提升程式效能(避免大量不必要IO),減少程式大小或記憶體使用量等。

  4. Software Firmware Engineer · CastleNet Technology Inc (8059)

    2013-01-01 – 2014-02-01

    平常工作環境介於 Linux 與 Windows,使用 cross compiler 的環境,並且利 用 samba 溝通此兩種 OS 檔案系統。我們負責的 CM 主要使用簡易版 Linux,稱 之 Ecos 的作業系統,就我個人認為可以 CM 分為三大面向來說明: 1. 硬體與系統: a.硬體部分: 一台 CM 具備了各種元件,例如: 運算核心(CPU)、各種記憶體(flash, SDRAM...)、無線通訊晶片(2.4G 與 5G)、PHY 晶片(處理底層網路通訊部分)、 Switch 晶片(2 port or 4 port 切換)、diplexer(調變與解調變技術,其中包含 數位類比轉換元件)、adapter(電源相關元件)、LED(大部分透過 GPIO 控制)等。 雖然主要負責的還是軟韌體部分,但還是曾使用軟韌體方式控制 GPIO 去驅 動包含 LED、甚至是某些晶片的腳位,並且搭配式波器量測訊號。 b.系統部分: 我們的 CM 分成使用 Linux 與 ecos 兩種系統,不論使用哪一種,各種 OS 相關技術與觀念都相當的重要。以此系統來說,每個 thread 所處理的工作與需求 的資源都不同,就容易產生一些經典的例子。 就我自身接觸過案子就曾處理過 Race condition、 Critical section、 Memory leak 等相關議題。此外,也曾 trace 過從 bootloader -> 載入各種 driver -> 開機完成 等各階段相關的動作。 2. 網路: 畢竟 CM 的主要功能就是用來連線上網,有些又加入 Router 與 Gateway 功 能,所以針對各種網路 protocol 都要有處理與應對的能力。光是 802.11 b/g/n/ac 就能衍生出很多相關的問題,2.4G 與 5G 同時使用的 dual band concurrent 也 常冒出一些 bug。曾經也遇過 MII 無法與 PHY 晶片溝通造成 LAN port 不通的 問題。印象最深的是博通原廠曾經在計算封包 checksum 時 overflow 造成部分 IP 完全無法上網,又或是一些 Ethernet packet 的 trace,其餘諸如 TCP/IP、UDP、FTP、 ICMP、TFTP、SNMP 等更是必須接觸的通訊協定。 3. coding: 不論上述的硬體與系統,還是只針對網路協定的部分,絕大多數還是得用細 微的程式語言去 implement 那些功能。而我們的 CM 是使用 C/C++搭配些許的 ASP 來建置的,最讓人興奮的是透過 coding 的方式去完成不論是網路還是 OS 的 功能與概念。很幸運地,博通提供的 total solution 包含著一份很完整的架構, 除去一些 driver 與 object 檔我們無法看到的,其餘的部分也夠讓人學習與借鑑。 整體而言,C++的物件導向的確提供了很大的方便性,當需要底層一點的資料時 再與 C 語言共存即可。幾乎 C/C++大部分的基本與進階技巧都在此接觸過,諸如 封裝、物件、繼承、建構與解建構、new、delete、malloc、free、macro、指標的 使用等等,真的讓我受益匪淺。 補充: 1. 在職期間也曾利用原廠提供的 Data sheet 進行 register 存取與利用 2. 獨力完成關於客戶要求 tr069(CWMP)案子的相關作業 3. 針對日本客戶年度三大客製化案子,負責超過 50%項目 4. 針對一些 Ethernet packet(例如:ICMP)進行 trace 並且抓到也改進原廠的 bug 5. 加入目前三人小組後,個人分攤小組近一半的工作量,讓 leader 可以專 心處理更上層與核心的事務

Education

  • Providence University

    master · Master's degree, Computer and Information Sciences, General

  • 成功高中

Skills

  • race
  • protocol
  • embedded
  • software engineering
  • operating system
  • debug
  • system call
  • ethernet
  • linux kernel
  • embedded firmware
  • trace
  • bootloader
  • lan
  • project management
  • risc-v
  • phy
  • ioctl
  • senior software engineer
  • interface
  • 802.11 (wi-fi standards)
  • ap
  • checksum
  • valgrind
  • data
  • gpio
  • strace
  • large-scale scrum (less)
  • fd
  • device driver
  • leadership
  • linux
  • implementation
  • project leadership
  • ip
  • firmware engineering
  • toolchain
  • wireless
  • upgrade
  • asp.net
  • driver

Find more professionals on HuMetric →