• xilongpei posted an update 10mo

  • xilongpei posted an update in the group Group logoElastos核心开发组 10mo,2wk

    设备组织成设备树,然后映射到文件系统中,可以象操作文件一样操作这些设备。fuchsia/Magenta还在这样设计。为什么不引入“设备即服务模型”(DaaS)之类的思想呢?而且这样实现之后,内核的规模就超过了Safety Critical的计算场合了,规模太大,没法过那些验证啊。

  • xilongpei posted a new activity comment 10mo,2wk

    In reply to: xilongpei posted an update in the group 同济系统软件爱好者 从现在github.com上的fuchsia代码 https://github.com/fuchsia-mirror 上看,Magenta是这个工程的核心,其它repo中的内容都是为了测试Magenta的稳定、可靠、兼容性等属性。整个fuchsia的工程入口是 View

    从Google Fuchsia开发团队的组成(他们来自:Android, Palm, WebOS, Native Client, iOS)看,就知道他们要干什么了。Android需要Trusty OS、Native Client需要一个跑在浏览器里面的小型OS用来执行本地二进制程序,总不能浏览器里面再跑一个Linux吧?

  • xilongpei posted an update in the group Group logo同济系统软件爱好者 10mo,2wk

    从现在github.com上的fuchsia代码 https://github.com/fuchsia-mirror 上看,Magenta是这个工程的核心,其它repo中的内容都是为了测试Magenta的稳定、可靠、兼容性等属性。整个fuchsia的工程入口是 https://github.com/fuchsia-mirror/manifest 照着这里的说法一步一步走就行了。checkout代码时,你的机器需要处于翻墙状态。Magenta是Google的新操作系统,适应于比RTOS大,比桌面Linux小的计算环境。

    • 从Google Fuchsia开发团队的组成(他们来自:Android, Palm, WebOS, Native Client, iOS)看,就知道他们要干什么了。Android需要Trusty OS、Native Client需要一个跑在浏览器里面的小型OS用来执行本地二进制程序,总不能浏览器里面再跑一个Linux吧?

  • xilongpei posted an update in the group Group logo同济系统软件爱好者 10mo,2wk

    gitk

    view your git repo with GUI

  • xilongpei posted a new activity comment 10mo,3wk

    In reply to: xilongpei posted an update /home/xilong/CM-work xilong@xilong-OptiPlex-7010:~/CM-work$ pb run android_lforcm:2 build android ——————————— source build/envsetup.sh brunch victara #配置内核 make menuconfig View

    xilong@pb-03486c:~/swap/CM13_0-Android6/kernel/motorola/msm8974$ make mrproper
    CLEAN scripts/basic
    CLEAN scripts/kconfig
    CLEAN include/config

  • xilongpei posted an update 10mo,3wk

    network-manager-openconnect

  • xilongpei posted a new activity comment 10mo,3wk

    In reply to: xilongpei posted an update /home/xilong/CM-work xilong@xilong-OptiPlex-7010:~/CM-work$ pb run android_lforcm:2 build android ——————————— source build/envsetup.sh brunch victara #配置内核 make menuconfig View

    Building Kernel
    make -C kernel/motorola/msm8974 O=/home/xilong/swap/CM13_0-Android6/out/target/product/victara/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=” arm-linux-androideabi-” zImage
    make[1]: Entering directory `/home/xilong/swap/CM13_0-Android6/kernel/motorola/msm8974′
    target thumb C++: recovery <= bootable/recovery/adb_install.cpp
    target… Read more

  • xilongpei posted an update 10mo,3wk

    /home/xilong/CM-work
    xilong@xilong-OptiPlex-7010:~/CM-work$ pb run android_lforcm:2

    build android
    ———————————
    source build/envsetup.sh
    brunch victara

    #配置内核
    make menuconfig

    • Building Kernel
      make -C kernel/motorola/msm8974 O=/home/xilong/swap/CM13_0-Android6/out/target/product/victara/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=” arm-linux-androideabi-” zImage
      make[1]: Entering directory `/home/xilong/swap/CM13_0-Android6/kernel/motorola/msm8974′
      target thumb C++: recovery <= bootable/recovery/adb_install.cpp
      target… Read more

    • xilong@pb-03486c:~/swap/CM13_0-Android6/kernel/motorola/msm8974$ make mrproper
      CLEAN scripts/basic
      CLEAN scripts/kconfig
      CLEAN include/config

  • @xihao 说:
    可以把R.h,R.cpp加到.gitignore中,这样就算不清理,也不会提交到树上去了

  • xilongpei posted an update 11mo

    // static
    utils::RefPtr<ProcessDispatcher> ProcessDispatcher::LookupProcessById(mx_koid_t koid) {
    LTRACE_ENTRY;
    AutoLock lock(&global_process_list_mutex_);
    ProcessDispatcher* process =
    global_process_list_.find_if([koid](const ProcessDispatcher& p) {
    return p.get_koid() == koid;
    });
    return… Read more

  • xilongpei posted a new activity comment 11mo

    In reply to: xilongpei posted an update $/Magenta/magenta/scripts/shlib-symbols # This script reads the dynamic symbol table of a DSO (ELF file) via nm # and writes out a sequence of lines for each symbol in the DSO’s ABI # […] View

    $(MODULE_LIBNAME).abi.h: $(MODULE_LIBNAME).so scripts/shlib-symbols
    $(NOECHO)scripts/shlib-symbols -z ’$(NM)’ $< > $@

  • xilongpei posted an update 11mo

    $/Magenta/magenta/scripts/shlib-symbols
    # This script reads the dynamic symbol table of a DSO (ELF file) via nm
    # and writes out a sequence of lines for each symbol in the DSO’s ABI
    # that can be used as C macros. The macro invocations it writes look like:
    # TYPE(NAME, [ADDRESS,] SIZE)
    # The ADDRESS parameter is included only if the script is… Read more

    • xilongpei replied 11mo

      $(MODULE_LIBNAME).abi.h: $(MODULE_LIBNAME).so scripts/shlib-symbols
      $(NOECHO)scripts/shlib-symbols -z ’$(NM)’ $< > $@

  • xilongpei commented on the post, 在docker里运行redmine, on the site sunzhen's BLOG 11mo

    中英文字符混写害人啊!比如这个-号,如果命令行中是全角的中文的-,看不出来啊!
    docker run -p 3333:22 -v /elorg_opt128:/opt -d -P sshsever/ubuntu

  • xilongpei posted an update 11mo,1wk

    Magenta and LK

    LK is a Kernel designed for small systems typically used in embedded applications. It is good alternative to commercial offerings like FreeRTOS or ThreadX. Such systems often have a very limited amount of ram, a fixed set of peripherals and a bounded set of tasks.

    On the other hand, Magenta targets modern phones and modern… Read more

  • xilongpei posted an update 11mo,2wk

    xilong@pb-4d6194:~/Elastos5$ source Setup/SetEnv.sh gcc_devtools
    ~/Elastos5/Sources$ rls

  • xilongpei posted an update 11mo,3wk

    Linaro 的QEMU版本 http://www.linaro.org/blog/core-dump/arm-trustzone-qemu/对TrustZone的支持,不如Android官方网站 https://source.android.com/security/trusty/index.html 的支持。这让我陷入一个沉思,想玩块板子,难道还要研究清楚QEMU源码?

  • xilongpei posted an update 11mo,3wk

    TrustyOS中,ARM汇编 smc #0 指令,到底发生了什么事?
    (gdb) n
    Cannot access memory at address 0×80000000
    0x0000000c in ?? ()
    (gdb) list
    30
    31 /* sm_sched_nonsecure(uint32_t retval, smc32_args_t *args) */
    32 FUNCTION(sm_sched_nonsecure)
    33 push {r1, lr}
    34
    35 .Lfastcall_complete:
    36 mov r1, r0
    37
    38 .Lreturn_sm_err:
    39 ldr r0,… Read more

  • xilongpei posted an update 11mo,3wk

    search STATIC_COMMAND_START in source files, then you will get the console commands of lk

  • 这些是在调试Telephony过程中搜集和积累的一些资料,希望对想接触这部分功能的人有所帮助。

    一、深入理解 Android Telephony原理剖析与最佳实践_13151646.pdf

    (http://elastos.org/redmine/projects/elastosrdk5/files) 的Android Telephony目录下

    这本书是以android […]

  • Load More