Author: wmb Date: 2010-01-29 00:38:48 +0100 (Fri, 29 Jan 2010) New Revision: 1717
Modified: cpu/x86/pc/olpc/nandcastui.fth cpu/x86/pc/olpc/via/mcnand-version.fth Log: NANDblaster - added support for listening on different multicast groups so the factory can download different images to different SKUs simultaneously.
Modified: cpu/x86/pc/olpc/nandcastui.fth =================================================================== --- cpu/x86/pc/olpc/nandcastui.fth 2010-01-28 13:59:56 UTC (rev 1716) +++ cpu/x86/pc/olpc/nandcastui.fth 2010-01-28 23:38:48 UTC (rev 1717) @@ -106,12 +106,17 @@ " boot rom:nb_rx ,,239.255.1.2" eval )boot-as-call ; -: nb-rx +: $nb-rx ( multicast-ip$ -- ) false to already-go? boot-as-call( - " boot rom:nb_rx ,,0.0.0.1" eval + ( multicast-ip$ ) " boot rom:nb_rx mcast:%s" sprintf eval )boot-as-call ; +: nb-rx: ( "multicast-ip" -- ) + safe-parse-word $nb-rx +; +: nb-rx ( -- ) " 224.0.0.100" $nb-rx ; + : ucastnand false to already-go? " boot rom:nb_rx 10.20.0.16,,10.20.0.44" eval
Modified: cpu/x86/pc/olpc/via/mcnand-version.fth =================================================================== --- cpu/x86/pc/olpc/via/mcnand-version.fth 2010-01-28 13:59:56 UTC (rev 1716) +++ cpu/x86/pc/olpc/via/mcnand-version.fth 2010-01-28 23:38:48 UTC (rev 1717) @@ -3,6 +3,6 @@ \ With a specific ID, mcastnand.bth will download a tarball without .git stuff. \ With "test", mcastnand.bth will clone the git head if build/multicast-nand/ \ is not already present, then you can modify the git subtree as needed. -macro: MCNAND_VERSION b8b1eb851bf6583a3fe83c073ecb8e6a682f4e18 +macro: MCNAND_VERSION 1eaa6e5822104b58cd933d33724a550ee1778943 \ macro: MCNAND_VERSION test \ macro: MCNAND_VERSION HEAD