Open jadonk opened 6 years ago
From @symplute on February 8, 2014 10:10
When I restart BeagleBoneBlack (unload dt) and /lib/firmware/bspwm_*.dtbo was not exist, then I get error see below:
debug: templateFilename = /home/ubuntu/foo/node_modules/bonescript/bspwm_template.dts debug: fragment = bspwm_P9_14_e debug: command = dtc -O dtb -o /lib/firmware/bspwm_P9_14_e-00A0.dtbo -b 0 -@ /lib/firmware/bspwm_P9_14_e-00A0.dts error: Failed to find devicetree fragment: bspwm_P9_14_e info: 0: 54:PF--- 1: 55:PF--- 2: 56:PF--- 3: 57:PF--- 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G 5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI 7: ff:P-O-L Override Board Name,00A0,Override Manuf,am33xx_pwm .......... info: Error loading devicetree overlay for P9_14 using template bspwm error: error updating PWM freq and value: undefined, Error: ENOENT, no such file or directory 'undefined/duty' debug: handler = {"0":null,"1":"","2":""}
/lib/firmware/bspwm_*.dtbo was created at that time. It is loaded and success from next time.
I think that "handler" callback of child_process.exec() called asynchronously.
How do you think about this? http://stackoverflow.com/questions/4443597/node-js-execute-system-command-synchronously
Copied from original issue: jadonk/bonescript#74
From @adityapatadia on September 15, 2014 8:11
All these issues are now solved in https://github.com/theoctal/octalbonescript It is fork of bonescript and I would suggest you to give it a shot.
From @symplute on February 8, 2014 10:10
When I restart BeagleBoneBlack (unload dt) and /lib/firmware/bspwm_*.dtbo was not exist, then I get error see below:
/lib/firmware/bspwm_*.dtbo was created at that time. It is loaded and success from next time.
I think that "handler" callback of child_process.exec() called asynchronously.
How do you think about this? http://stackoverflow.com/questions/4443597/node-js-execute-system-command-synchronously
Copied from original issue: jadonk/bonescript#74